From owner-freebsd-questions@FreeBSD.ORG Sun Aug 26 12:20:42 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DCAB16A419 for ; Sun, 26 Aug 2007 12:20:42 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id DAD4D13C46A for ; Sun, 26 Aug 2007 12:20:41 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.14.1/8.14.1) with ESMTP id l7QCKaeX046912; Sun, 26 Aug 2007 13:20:36 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1188130836; bh=eWamD6iRnD0ncL y/FFrI6zY6HOg9sUcGNzmu1Zo/g7o=; h=Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To: X-Enigmail-Version:Content-Type:Content-Transfer-Encoding:Cc: Content-Type:Date:From:In-Reply-To:Message-ID:Mime-Version: References:To; b=hCm+HbAkqGyz/Fuu8yFO4yfnW3OCqUK7qsedHFBUPe+rbDB0+ XubkEWBhI7tqmeI8J9VxN3UFjFes1PXB9p1EXavrooiuaHo5oeAzF058/xrXuBTD3f+ AftCq52HfiqMkAaxSCewA0qb7laBn9zRZvk/1PdNqpUw8os/AwiBhqw= Message-ID: <46D17013.5080005@infracaninophile.co.uk> Date: Sun, 26 Aug 2007 13:20:35 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.6 (X11/20070803) MIME-Version: 1.0 To: "Bahman M." References: <001601c7e7d9$9e485b10$6501a8c0@GRANT> <6d62f69a0708260514v2a5ccbf8n6b6fb4fd61436175@mail.gmail.com> In-Reply-To: <6d62f69a0708260514v2a5ccbf8n6b6fb4fd61436175@mail.gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Sun, 26 Aug 2007 13:20:36 +0100 (BST) X-Virus-Scanned: ClamAV 0.91.1/4065/Sun Aug 26 11:30:29 2007 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on happy-idiot-talk.infracaninophile.co.uk Cc: Grant Peel , freebsd-questions@freebsd.org Subject: Re: Pesky File X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Aug 2007 12:20:42 -0000 -----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-----