Search Results

Search: Posts Made By: zsk_00
3,718
Posted By zsk_00
Conditional sorting on fixed length flat file
I have a fixed length file that need to be sorted according to the following rule
IF B=1 ORDER by A,B
Else ORDER by A,C
Input file is
ABC
131
112
122
231
212
222

Output needed...
Showing results 1 to 1 of 1

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