help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: regexp question


From: Peter Dyballa
Subject: Re: regexp question
Date: Sat, 30 Sep 2006 10:53:23 +0200


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 does not need a contents analysis.

--
Mit friedvollen Grüßen

  Pete       (:
        _    / __    -    -
      _/ \__/_/        -     -
     (´`)      (´`)   -    -
      `´        `´






reply via email to

[Prev in Thread] Current Thread [Next in Thread]