I have a flat file that needs to be sorted first by positions 23 thru 30, and thn by 68 thru 74. The records do not have any common field delimiters that I can use.
-t x : Use x as the field separator character
To sort a file based on columns, use the -t option to specify a
field separator character which does not appear in the input.
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.