I am trying to sort a file in unix, on fields that are fixed length.
i.e. field1 - col 1 to col 4 (first 4 chars), field2 - col5 to col7 .......
This fixed length file is to be sorted by field2, field4, field7........
Thanks in advance,