> On Thu, 18 Jun 1999, Steve Willer wrote: > >What is wrong with this? > > cat names.txt|sed 's/||/, /g'|sort +0 +1 Well, the one thing that immediatly strikes me is that cat is totally unneccessary. An ordinary redirection would look much nicer; sed 's/||/, /g' <names.txt |sort +0 +1 > If you really, really wanted to use perl for this, you could do: > > #!/usr/bin/perl > open(IN, "names.txt") or die "Ack"; > print sort <IN>; Or, ofcourse; perl -e "print sort <>" <names.txt ==== Want to unsubscribe from this list? (Don't you love us anymore?) ==== Well, if you insist... Send mail with body "unsubscribe" to ==== fwp-request@technofile.org