Search Results

Search: Posts Made By: danhodges99
3,288
Posted By joeyg
The NF inside awk counts the number of fields. ...
The NF inside awk counts the number of fields.
So, if your datafile has more columns, than that number would need to be adjusted.
Make sense?
3,288
Posted By radoulov
OK, it seems that your sed implementations...
OK,
it seems that your sed implementations doesn't interpolate the \t escape sequence.
I put it only to be safer, so you can just remove it:

sed 's/\([^0-9 ]\) *\([^0-9 ]\)/\1\2/g' infile
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 03:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy