RE: Filenames with a $ in it

From: Jamie Furtner (jamie.furtner_at_ideaca.com)
Date: 11/27/03

  • Next message: Dan Nelson: "Re: Filenames with a $ in it"
    To: "'Dan Gapinski'" <dangapinski@qsi-r2.com>, "'secureshell@securityfocus.com'" <secureshell@securityfocus.com>
    Date: Wed, 26 Nov 2003 16:45:34 -0700
    
    

    Escape the $ with a backslash on Unix. The $ is a special character in most
    shells - environment variables are prepended by the $.

    So, "test$" becomes "test\$".

    Jamie Furtner

    -----Original Message-----
    From: Dan Gapinski [mailto:dangapinski@qsi-r2.com]
    Sent: November 26, 2003 2:48 PM
    To: secureshell@securityfocus.com
    Subject: Filenames with a $ in it

    Hello,

    This might be a UNIX idiocyncracy, but are there any limitations that
    restrict a filename from having a $ in it? It appears that if we copy a
    so-named file using SCP, the file cannot be opened or copied. In Windows
    this is completely legal, so I had to ask.

    Thanks in advance,
    Dan


  • Next message: Dan Nelson: "Re: Filenames with a $ in it"

    Relevant Pages

    • Re: Clients using a GUI to access FTP
      ... I wouldn't suggest mapping VMS names to Unix names. ... VMS filenames onto a Unix directory, ...
      (comp.os.vms)
    • Re: spaces in filenames or directories when using graphics
      ... RB>> Tl 2004) if one can actually use spaces in directory-names or file names ... RB>> By testing on my TeX Live 2004, I cannot get it working with dvips. ... TeX ITSELF barfs at filenames with spaces. ... *UNIX* itself has allowed all sorts of weird characters in file names ...
      (comp.text.tex)
    • Re: Reintroducing fish, the friendly interactive shell
      ... globbing and is more suitable for matching filenames than the ... but Unix barely exists anyway. ... on any Unix, as long as you use zsh, as I specified:-b ... the same way most other unix commands do. ...
      (comp.unix.shell)
    • Re: Clients using a GUI to access FTP
      ... I wouldn't suggest mapping VMS names to Unix names. ... VMS filenames onto a Unix directory, ... Most files are created as lowercase because that is they way they ...
      (comp.os.vms)
    • Re: OT: Re: MAC users?
      ... systems can be case-sensitive to filenames so watch for that". ... Bob's characterization of magic numbers and 'file' as some kind of Unix ... you wrote that reliance on filename extensions is "the sort of ... Windows is an easy target, but bashing it while praising Unix (for ...
      (soc.genealogy.computing)