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