Sorry the output file needs to be different
We have ID 189 and we will use te last 2 pairs of the line
example 0.1740 2 189 Rx d 8 52 02 00 00 00 00 AA BB
the last 2 pairs have the meaning of speed. AABB if possible i need to convert the hex to integer.and put it into the column as follow...
I want to use an awk script to convert a text file into a csv file.
The textstructure to be converted is as follow:
0.1740 1 18FF9E1Ex Rx d 8 00 40 FF FF FF FF FF FF
0.1740 2 187 Rx d 8 CD 76 00 00 00 00 00 00
0.1740 1 CF00400x Rx d 8 F6 7D 9C E1 22 FF FF 7D
0.1740 2 189 Rx d 8 52...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.