Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 1998 17:59:54 -0700
From:      Ted Faber <faber@ISI.EDU>
To:        "Michael K. Sanders" <msanders@aros.net>
Cc:        Donn Miller <dmm125@bellatlantic.net>, hackers@FreeBSD.ORG
Subject:   Re: getopt and files that start with - or -- 
Message-ID:  <199806170059.RAA01427@tnt.isi.edu>
In-Reply-To: Your message of "Tue, 16 Jun 1998 17:41:47 MDT." <199806162341.RAA21053@shell.aros.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----


"Michael K. Sanders" wrote:
>In message <Pine.NEB.3.96.980616184616.202A-100000@myname.my.domain>, Donn Mill
>er writes:
>>Say you have a file named --weird.jpg.  You want to remove this, so you
>>do:
>
>No, you do 'rm -- --weird.jpg'.

And, of course, this is *never* an issue with filenames which can
always be passed as ./--goofy_file .

- ----------------------------------------------------------------------
Ted Faber                                                faber@isi.edu
USC/ISI Computer Scientist                   http://www.isi.edu/~faber
(310) 822-1511 x190      PGP Key: http://www.isi.edu/~faber/pubkey.asc



-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNYcVCIb4eisfQ5rpAQE5jgQAiBHkecSIOxp1auOzMFBkpwMcJ45Ozpym
L2DQEzGFFjRt+JeJ8Bk+qUnDvCK+2EsuL6i/AGClOcjKJ6EoMfKysqn9RAprV1jp
Ec0bFHBt8Jx1QOjvv7bULqy2QOKoK1IoDP2F2EJlss21//2Zq4kip8A+VJcYmBah
7i7Xh9R01bQ=
=q88V
-----END PGP SIGNATURE-----

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806170059.RAA01427>