From: Danny Abc Date: 2006-01-06T06:22:22+09:00 Subject: How do you sort a text file? I'm new to Ruby and was wondering how to sort a text file? With UNIX scripts, I just use "cat input.txt | sort > output.txt". -- Posted via http://www.ruby-forum.com/.