From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: regexp question Date: Sat, 30 Sep 2006 10:53:23 +0200 Message-ID: <756F5AC9-60A1-43A9-89E3-06CC676820A4@Web.DE> References: <9773EFADA4FF6C43A49824D50B1539A7018ACD7D@exbe04.intra.dlr.de> <337ACD55-1394-47C6-BF2F-CE72365E52A6@Web.DE> <87fyeacout.fsf@hans.local.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1159606440 24665 80.91.229.2 (30 Sep 2006 08:54:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 30 Sep 2006 08:54:00 +0000 (UTC) Cc: C.Strobl@dlr.de, help-gnu-emacs@gnu.org, rutt.4@osu.edu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 30 10:53:57 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 1GTabS-0003ni-87 for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Sep 2006 10:53:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GTabR-0004wu-K7 for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Sep 2006 04:53:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GTabC-0004wp-Qn for help-gnu-emacs@gnu.org; Sat, 30 Sep 2006 04:53:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GTabA-0004wd-9W for help-gnu-emacs@gnu.org; Sat, 30 Sep 2006 04:53:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GTabA-0004wa-2P for help-gnu-emacs@gnu.org; Sat, 30 Sep 2006 04:53:28 -0400 Original-Received: from [217.72.192.234] (helo=fmmailgate03.web.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GTage-0007VR-Lf for help-gnu-emacs@gnu.org; Sat, 30 Sep 2006 04:59:08 -0400 Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate03.web.de (Postfix) with ESMTP id 52E3E24570F3; Sat, 30 Sep 2006 10:53:26 +0200 (CEST) Original-Received: from [87.193.11.62] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.107 #114) id 1GTab8-0004HH-00; Sat, 30 Sep 2006 10:53:26 +0200 In-Reply-To: <87fyeacout.fsf@hans.local.net> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: Dieter Wilhelm X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de 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:37732 Archived-At: Am 30.09.2006 um 00:03 schrieb Dieter Wilhelm: > sed -e 's/\(.\)/\1\n/g | sort -u > > which is working on my Gnu/Linux system. Your shell is faulty. A quoted sequence has to start and to end. \n does not seem to work for me ... Anyway, Florian Kaufmann's \(.\|^J\)*? is the optimal expression: it =20 does not need a contents analysis. -- Mit friedvollen Gr=FC=DFen Pete (: _ / __ - - _/ \__/_/ - - (=B4`) (=B4`) - - `=B4 `=B4