in reply to Re: parse a line with varied number of fields
in thread parse a line with varied number of fields

I have updated with with some code. I can identify the lines but the number of fields per line can vary.

Cut fields 0-7 and cut fields $NF - -8. What remains is the file name with spaces. The number of fields left to print could be varied, 1 fields, 2 fields, ...

Thanks

  • Comment on Re^2: parse a line with varied number of fields