Search Results

Search: Posts Made By: Muga801
3,895
Posted By guruprasadpr
Hi, Try this. sort -t "|" -k 16...
Hi,
Try this.
sort -t "|" -k 16 Test_File.dat | awk -F "|" '{print > $NF}'

Thanks
Guru.
3,895
Posted By m1xram
gawk fun
That wasn't much fun. Took me a while to clue into the fact that arrays are associative and not numeric. Sorting was a pain until I made the element name a combo of the the last field and a record...
Showing results 1 to 2 of 2

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