Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #177773
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: An Odd File Name |
| Date | 2017-02-13 18:20 +0100 |
| Message-ID | <tass9-6EK-17@gated-at.bofh.it> (permalink) |
| References | <tasiu-6AY-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Feb 13, 2017 at 11:06:24AM -0600, Martin McCormick wrote: > I downloaded a file from a site using lynx and the file > name is "InstallingGRFromSource#Using-the-build-gnuradio-script.gz" > Actually, the double quotes are here for clarity but the name is > as it appears including the # sign. Ls sees it and rm -i would > remove it if I let it but if I do: > > gunzip InstallingGRFromSource#Using-the-build-gnuradio-script.gz > > or > > ls InstallingGRFromSource#Using-the-build-gnuradio-script.gz > > bash can't find/see the file. The # character is only a comment indicator in bash when it appears at the start of a word, not in the middle. That's why ls and rm have no problem with it. Therefore bash has no problem with it, because clearly bash is passing the filename intact to ls and rm. If gunzip has a problem with it, then I would suggest you simply rename the file.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
An Odd File Name "Martin McCormick" <martin.m@suddenlink.net> - 2017-02-13 18:10 +0100
Re: An Odd File Name John Darrah <xyllyx@gmail.com> - 2017-02-13 18:20 +0100
Re: An Odd File Name Greg Wooledge <wooledg@eeg.ccf.org> - 2017-02-13 18:20 +0100
Re: An Odd File Name "Martin McCormick" <martin.m@suddenlink.net> - 2017-02-13 19:30 +0100
Re: An Odd File Name Jude DaShiell <jdashiel@panix.com> - 2017-02-13 19:30 +0100
Re: An Odd File Name David Wright <deblis@lionunicorn.co.uk> - 2017-02-13 20:00 +0100
Re: An Odd File Name Jonathan Dowland <jmtd@debian.org> - 2017-02-14 10:40 +0100
Re: An Odd File Name Patrick Bartek <nemommxiv@gmail.com> - 2017-02-14 01:20 +0100
csiph-web