From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: Regexp for marking source code Date: Tue, 15 Aug 2006 22:58:57 +0200 Message-ID: <85u04d90mm.fsf@lola.goethe.zz> References: <44d8c969$1@news.greennet.net> <85slk8xxej.fsf@lola.goethe.zz> <857j1i5cyi.fsf@lola.goethe.zz> <87bqqnauln.fsf@hans.local.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1155675581 26683 80.91.229.2 (15 Aug 2006 20:59:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 15 Aug 2006 20:59:41 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 15 22:59:36 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GD60S-0007xX-2s for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Aug 2006 22:59:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GD60R-0001bl-H1 for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Aug 2006 16:59:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GD60F-0001b4-2R for help-gnu-emacs@gnu.org; Tue, 15 Aug 2006 16:59:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GD60E-0001an-HR for help-gnu-emacs@gnu.org; Tue, 15 Aug 2006 16:59:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GD60E-0001ak-8V for help-gnu-emacs@gnu.org; Tue, 15 Aug 2006 16:59:10 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GD66L-0000wZ-58 for help-gnu-emacs@gnu.org; Tue, 15 Aug 2006 17:05:29 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1GD60D-0005JI-GP; Tue, 15 Aug 2006 16:59:09 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 3A6E41C4D3AD; Tue, 15 Aug 2006 22:58:57 +0200 (CEST) Original-To: Dieter Wilhelm In-Reply-To: <87bqqnauln.fsf@hans.local.net> (Dieter Wilhelm's message of "Mon, 14 Aug 2006 23:13:56 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36702 Archived-At: Dieter Wilhelm writes: > Never heard of multiline file names, are they really in use? If people use a file system as a sort of key-lookup system, this can happen. >> Probably not important in dired, but I have some healthy matching >> paranoia. For example, if some joker creates a file (and its >> containing directory) named >> '-rf >> / >> guffaw' >> which is infrequently cleaned up by a sysadmin script, things can get >> ugly if the script has not been written carefully. > > hmmm ... > > rm -rf / guffaw > > do you mean that rm then erases the root directory > recursively? But what is guffaw for? Just something to put behind '/'. You can actually write '-rf / ' too, and then the file in the directory "-rf\n" has a file "\n". Note that this, in contrast to just spaces in file names, causes damage even when doing find /tmp -type f|xargs rm -rf because then you'll get calls rm -rf -rf rm -rf / rm -rf -- David Kastrup, Kriemhildstr. 15, 44793 Bochum