From owner-freebsd-questions Tue Sep 11 15:30:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from slackerbsd.org (cn434050-d.wall1.pa.home.com [24.40.72.54]) by hub.freebsd.org (Postfix) with SMTP id E9EA837B403 for ; Tue, 11 Sep 2001 15:30:13 -0700 (PDT) Received: (qmail 97431 invoked by uid 1000); 11 Sep 2001 22:30:09 -0000 Date: Tue, 11 Sep 2001 18:30:09 -0400 From: Carl Schmidt To: Philip Murray Cc: freebsd-questions@freebsd.org Subject: Re: Delete a file named "-1.new.new" Message-ID: <20010911183009.D42438@slackerbsd.org> Reply-To: Carl Schmidt Mail-Followup-To: Philip Murray , freebsd-questions@freebsd.org References: <000901c13a65$6c984170$0500a8c0@SPARLAK> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="b5gNqxB1S1yM7hjW" Content-Disposition: inline In-Reply-To: <000901c13a65$6c984170$0500a8c0@SPARLAK> User-Agent: Mutt/1.3.22.1i X-Operating-System: FreeBSD 4.4-RC X-PGP-Key: http://slackerbsd.org/~carl/carl_schmidt.asc Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --b5gNqxB1S1yM7hjW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 11, 2001 at 01:59:42PM +1200, Philip Murray wrote: > A file mistakenly got named like the above, however Bash, Tcsh, Csh and Sh > can't seem to delete it. >=20 > I've tried escaping the - and tried wildcards with "*new". I either get -1 > isn't a valid option, or it can't find the file. >=20 > How do I delete it? >=20 > Cheers >=20 > -- >=20 > Philip Murray >=20 rm ./-1.new.new --=20 Carl Schmidt Just like the pied piper led rats through the streets We dance like marionettes swaying to the symphony of destruction http://slackerbsd.org/ --b5gNqxB1S1yM7hjW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: tC+XzoEOVQ6oXh18yRSG0aFz7a11YMz0 iQA/AwUBO56QbywXrqm5p/cQEQKipQCg9dWiVfYNFxMBLoB/82lE5K8PV9UAnRrK Bx3QrIx2IX/eStSjRRbrVmp/ =L83u -----END PGP SIGNATURE----- --b5gNqxB1S1yM7hjW-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message