S
Suresh Unadrad
If I type in the following example from "Programming Ruby", I get an
error:
$ ruby -n -e "print if /wombat/" *.txt
-e:1: No such file or directory - if (Errno::ENOENT)
This is from a BASH command line on a linux system with ruby 1.8.4
At first I thought it was a problem with BASH interfering with quoting
or something, but I've tried many variations with no luck. Any idea?
thanks,
--su
error:
$ ruby -n -e "print if /wombat/" *.txt
-e:1: No such file or directory - if (Errno::ENOENT)
This is from a BASH command line on a linux system with ruby 1.8.4
At first I thought it was a problem with BASH interfering with quoting
or something, but I've tried many variations with no luck. Any idea?
thanks,
--su