Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Aug 2007 15:55:30 +0330
From:      "Bahman M." <b.movaqar@gmail.com>
To:        "Matthew Seaman" <m.seaman@infracaninophile.co.uk>
Cc:        Grant Peel <gpeel@thenetnow.com>, freebsd-questions@freebsd.org
Subject:   Re: Pesky File
Message-ID:  <6d62f69a0708260525u25de6d7dvedaf1648b9f89658@mail.gmail.com>
In-Reply-To: <46D17013.5080005@infracaninophile.co.uk>
References:  <001601c7e7d9$9e485b10$6501a8c0@GRANT> <6d62f69a0708260514v2a5ccbf8n6b6fb4fd61436175@mail.gmail.com> <46D17013.5080005@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
You're right. 'rm ./P' is much better or using '--' as the end of
arguments. I didn't know that.

Bahman

On 8/26/07, Matthew Seaman <m.seaman@infracaninophile.co.uk> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Bahman M. wrote:
> > What immediately came to my mind:
> > %  rm `find . -type f -name '-P'`
>
> This is just an excessively prolix way of running a command that
> outputs ./-P and then feeding the result into rm(1).  You can just type:
>
>    rm ./-P
>
> for heaven's sake...
>
>         Cheers,
>
>         Matthew
>
> - --
> Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
>                                                   Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
>                                                   Kent, CT11 9PW
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.4 (FreeBSD)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFG0XAT8Mjk52CukIwRCCgmAJ4yonsuo6FvAYT+1ZWLMDiuAH9dugCffMIe
> xPLN/jHG0Qha2ZbsMrmqfNw=
> =Pmxs
> -----END PGP SIGNATURE-----
>



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