[WBEL-users] File That Starts With Hyphen (Was: Weird Problem)
Bernie Hoefer
WBEL-user02@themoreiknow.info
Thu, 20 May 2004 13:39:19 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jeff Maze wrote:
- ---
> Well, for some reason it created an output file with the name of
> "-PT". Ever try to view, copy, delete and file with "-" at the
> beginning of the filename; can't seem to do much of anything with the
> file. It keeps saying "-PT unknown option", etc.
- ---
I've heard of this before. I'm sure a search on Google would turn
up lots of solutions.
As you know, the problem is that it thinks the "-" is an option to
the "rm" command. So, we need to refer to that file without having the
"-" be the first character in the reference. Try "rm ./-PT". That
should do it.
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.2 - not licensed for commercial use: www.pgp.com
iQA/AwUBQKztMnJBpqlEam+TEQJMlACgg5ss6J1pdpT+U4mcxTtRmfn/m44An0pG
0zoRHEddIG2dhH/d/biTf+n3
=Pj0a
-----END PGP SIGNATURE-----
--
Bernie Hoefer
PGP e-mail is welcome! Get my 1024 bit signature key from:
<http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x446A6F93>.
"The more I know, the more I realize how much I do not understand."