From: John Joyce Date: 2007-09-24T15:05:47+09:00 Subject: Re: "myscript.rb " - there's a blank in my name! Mac OS (before X even) respects spaces in file names. At the beginning and at the end. It's not the only *nix that does. On Sep 24, 2007, at 12:54 AM, Todd Burch wrote: > On a Mac - Tiger 10.4.10. > > I wrote a ruby script in TextWrangler (2.2.1) and saved it. I > inadvertently hit the space bar after the ".rb" and saved it. > Then, not > realizing a blank got added to the name, I attempted to run it and it > could not be found. After messing with it, I realized the blank was > saved as the third character after the "b" in .rb. > > Running > > ruby myscript.rb > > failed. > > Running > > ruby "myscript.rb " > > worked. Is this a Mac thing? I've nevver know a blank character > at the > end of a file name to be significant. > > Todd > -- > Posted via http://www.ruby-forum.com/. >