From: Andreas Eder Date: 2006-01-07T23:23:00+09:00 Subject: Re: How do you sort a text file? >>>>> "Danny" == Danny Abc writes: Danny> I'm new to Ruby and was wondering how to sort a text file? Danny> With UNIX scripts, I just use "cat input.txt | sort > output.txt". Why not sort output.txt? That cat is totally superfluous. 'Andreas -- Wherever I lay my .emacs, there's my $HOME.