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 <[EMAIL PROTECTED]> 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----- > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"