Lyndon Samson wrote:
> Ruby is such a sweet language that you can achieve alot with little
> code 
> 
> I'd like to see what 'one-liners' others have come up with.
> 
> here's one I find usefull.
> 
> ruby -e 'puts ENV["path"].downcase.split(";").sort'
> 
> handy for windows but *nix ppl would probably use sed.

http://www.rubygarden.org/ruby?OneLiners
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/81834

You'll find more with http://www.google.com/search?q=ruby+one+liners

Kind regards

    robert