help with shell script
Parv
parv at pair.com
Thu Oct 13 00:35:17 PDT 2005
in message <20051013053543.51718.qmail at web60016.mail.yahoo.com>,
wrote Peter Matulis thusly...
Could your please wrap lines around 69 or so characters?
> What I need is the size as the first item (not the second) on each
> line. Then I can use sort.
You can easily specify the column|key to sort on via -k flag ...
{ echo "polka 1" ; echo "dot 4"; } \
| sort -k2,2nr
- Parv
--
More information about the freebsd-questions
mailing list