![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| sort command | naamas03 | UNIX for Dummies Questions & Answers | 2 | 11-11-2007 08:25 AM |
| the sort command | wickbc | UNIX for Dummies Questions & Answers | 0 | 11-08-2007 12:30 PM |
| Sort command... | Indalecio | Shell Programming and Scripting | 5 | 06-25-2007 02:40 AM |
| help for 'sort' command | ganapati | UNIX for Advanced & Expert Users | 5 | 12-21-2006 11:30 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
SORT COMMAND help
Hey guys.
I am trying to Sort a pretty big file just in ascending order. Nothing as specific as size, name, numeric etc. The current code I have so far is: sort -k 1.1,1.17 <filename> -o <filename> That command above just seems to be rearranging the fields I am trying to sort. Any thoughts on this? Do I need to denote a size specification or anything like that? Thanks for any help. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Hi,
Please provide us the sample input & output file,so that we can get a clear picture. Thanks Nagarajan Ganesan |
|
#3
|
|||
|
|||
|
sort -k 1.1,1.17 $DC_abc/xyz_split.dat -o $DC_abc/xyz_split_sort.dat
|
|||
| Google The UNIX and Linux Forums |