Search Results

Search: Posts Made By: Takeeshe
7,463
Posted By Takeeshe
sort by based on multiple columns
Hi,

Is there any way to sort a file in cshell by sort command, sorting it by multiple fields, like to sort it first by the second column and then by the first column.

Thanks forhead
2,076
Posted By Takeeshe
Is there any mistake in this code:
cat $1 | sort -n | uniq | $1

in other words, I sort the content of the file and put the ouput in the same file, is there any mistakes in this cshell code ???
Showing results 1 to 2 of 2

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