[ale] scripting foo
Jim Popovitch
jimpop at yahoo.com
Mon Nov 15 17:48:36 EST 2004
I'm looking for some opinions on a better way to do something that I
currently do as part of a much larger lengthy script. Basically I
have a program that outputs data in the following format (sans the
hashed lines):
-----------------------------------
5 colors match RGB search:
red
yellow
orange
blue
green
-----------------------------------
Without using perl, and only using common progs (awk,sed,cut,etc), what
is the most optimized way to return a sorted, left-justified, right-trimmed,
list of results like this:
-----------------------------------
blue
green
orange
red
yellow
-----------------------------------
Tia,
-Jim P.
More information about the Ale
mailing list