I have a file that I want to parse by the value of the last characters in the last field.
Specifically, I want to grab all lines where the last characters of the line (there are five fields) are either "1" or "1.5".
For a file like:
... 0
... 0
... 0.5
... 0.5
... 1 (take)
... 1.5 (take)
... 2
...
... 10.5
... 11 (take)
... 11.5 (take)
...
Thanks
Specifically, I want to grab all lines where the last characters of the line (there are five fields) are either "1" or "1.5".
For a file like:
... 0
... 0
... 0.5
... 0.5
... 1 (take)
... 1.5 (take)
... 2
...
... 10.5
... 11 (take)
... 11.5 (take)
...
Thanks