All Questions
1
question
8
votes
4
answers
49k
views
using awk to split a line on single spaces not multiples
I'm trying to split a line that I have no control over the format of. If parameter 7 and 8 are missing which is possible they will be replaced by a space so I would end up with,
field1 field2 field3 ...