regex in bash
Benedikt Wildenhain
liste-lug-owl.de at benedikt-wildenhain.de
Wed Nov 26 00:06:49 CET 2003
Hallo Thomas,
hallo Lug-owl,
On Tue, Nov 25, 2003 at 11:18:10PM +0100, Thomas Kuhlmann wrote:
> weiss jemand von Euch wo ich Infos über die Moeglichkeiten von Regular
> Expressions in der bash finde? - Ich habe mit Google gesucht und nichts
Ich nicht.
>
> Was ich machen moechte, ist folgendes:
>
> for file in (*.mp3|*.ogg)
Warum so kompliziert?
for file in *.mp3 *.ogg reicht schon
--
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