From: James Edward Gray II Date: 2005-01-22T07:26:55+09:00 Subject: Re: Getting the version number of the ruby interpreter On Jan 21, 2005, at 4:13 PM, Nicholas Van Weerdenburg wrote: > Of course, this is all considered bad form in Ruby now anyhow. Still, > it's very nice for command-line 1 lines ( ruby -n -e 'print if /ruby/' > input.txt ) Which is exactly why the old behavior still works there. ;) james% cat test.txt start middle end james% ruby -n -e 'print unless /middle/' test.txt start end James Edward Gray II