blank as last character in a file name extension?

Discussion in 'macOS' started by toddburch, Sep 23, 2007.

  1. toddburch macrumors 6502a

    Joined:
    Dec 4, 2006
    Location:
    Katy, Texas
    #1
    I was editing a ruby script in TextWrangler. I did a CMD+S to save it. I typed the file name in, and inadvertently added a space character as the last character after the .rb before I clicked SAVE. It took!!

    Is this normal? I tried loading the ruby script 3 seconds after the save, and it would not load. It wasn't until I figured out there was a blank after the ".rb " (5 minutes later) that I was able to load it.

    I've only been using a Mac since last December, and in the 27 years I've been working with computers, this is the firt time I've EVER seen this behavior. Yuk!!

    Todd

    (Tiger 10.4.10, TextWrangler 2.2.1)
     
  2. toddburch thread starter macrumors 6502a

    Joined:
    Dec 4, 2006
    Location:
    Katy, Texas
    #2
    Apparently, on *nix systems, blanks are indeed significant at the front end and back end of a file name.

    Todd
     
  3. TBi macrumors 68030

    TBi

    Joined:
    Jul 26, 2005
    Location:
    Ireland
    #3
    Yes you are right, try adding a space in front of a file name and getting windows to even look at it. Throws a fit every time.
     

Share This Page