From owner-freebsd-hackers Tue Jun 16 18:03:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA05480 for freebsd-hackers-outgoing; Tue, 16 Jun 1998 18:03:37 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from tnt.isi.edu (tnt.isi.edu [128.9.128.128]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA05454 for ; Tue, 16 Jun 1998 18:03:27 -0700 (PDT) (envelope-from faber@ISI.EDU) Received: from ISI.EDU (vex-e.isi.edu [128.9.160.240]) by tnt.isi.edu (8.8.7/8.8.6) with ESMTP id RAA01427; Tue, 16 Jun 1998 17:59:54 -0700 (PDT) Message-Id: <199806170059.RAA01427@tnt.isi.edu> To: "Michael K. Sanders" Cc: Donn Miller , hackers@FreeBSD.ORG Subject: Re: getopt and files that start with - or -- In-Reply-To: Your message of "Tue, 16 Jun 1998 17:41:47 MDT." <199806162341.RAA21053@shell.aros.net> X-Url: http://www.isi.edu/~faber Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 16 Jun 1998 17:59:54 -0700 From: Ted Faber Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- "Michael K. Sanders" wrote: >In message , 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