>>>>> "Steve" == Steve Willer <willer@interlog.com> writes: Steve> What is wrong with this? Steve> cat names.txt|sed 's/||/, /g'|sort +0 +1 It's a useless use of cat. If you had posted it to comp.unix.questions or comp.unix.shell, I would have given it one of the weekly UUOCAs. See http://www.ling.helsinki.fi/~reriksso/unix/award.html -- Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095 Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@teleport.com) Web: <A HREF="http://www.stonehenge.com/merlyn/">My Home Page!</A> Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me