From: "David A. Black" Date: 2005-08-09T08:37:01+09:00 Subject: Re: One line handies Hi -- On Tue, 9 Aug 2005, 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. Not necessarily, but we would use PATH and ":" :-) David -- David A. Black dblack@wobblini.net