![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unable to use sort command in Shell Script | racbern | Shell Programming and Scripting | 1 | 04-04-2008 06:25 AM |
| Can someone explain a bubble sort in Krn script to me? | bluesilo | Shell Programming and Scripting | 5 | 03-02-2008 07:35 PM |
| Script to sort data | wizardy_maximus | Shell Programming and Scripting | 1 | 11-21-2007 04:30 AM |
| sort script/command | Chadbot | UNIX for Dummies Questions & Answers | 6 | 11-20-2005 09:43 AM |
| sort utility in script ? | maheshsri | Shell Programming and Scripting | 2 | 11-08-2005 10:13 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Using sort with awk script
I have a file with four fields and an awk script that strips out one field displaying the remaining three. I have added headings for each of these fields such as Player - Year - RBIs then below it comes the data. What I am trying to do is sort the RBIs field in my script from most to least at the shell prompt using the sort command ...however, the headings are also getting sorted! How can I disclude (heh, not even a word, but sounds right) the three headings from my sort?
Trellot |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|