tr und Regular Expressions

Benedikt Wildenhain liste-lug-owl.de at benedikt-wildenhain.de
Sat Apr 3 02:22:05 CEST 2004


Hallo Lug-OWL,
hallo David,

On Fri, Apr 02, 2004 at 06:50:45PM +0200, David Christopher Weichert wrote:
> aber mit tr -cd [a-z0-9_~+\\\-] erhalte ich, was ich wollte qu?u! => quu
> *und* qu\u => quu
// -> / (und \- -> - ?) wird von der Shell umgewandelt.

-- 
Achtung: die folgende Zeile verletzt ein Patent (Nicht ausfuehren!):
while ping -c1 $IP > /dev/null; do sleep 1; done; echo Connection lost
 --> http://patinfo.ffii.org/
May the tux be with you.  :wq 73



More information about the Linux mailing list