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.

show your config:

   ruby -r yaml -r rbconfig -e'y Config::CONFIG'

-a
-- 
===============================================================================
| email :: ara [dot] t [dot] howard [at] noaa [dot] gov
| phone :: 303.497.6469
| Your life dwells amoung the causes of death 
| Like a lamp standing in a strong breeze.  --Nagarjuna 
===============================================================================