regex in bash

Dietmar Goldbeck dietmar.goldbeck at acm.org
Wed Nov 26 11:45:51 CET 2003


On Tue, Nov 25, 2003 at 11:18:10PM +0100, Thomas Kuhlmann wrote:
> Hi,
> 
> weiss jemand von Euch wo ich Infos über die Moeglichkeiten von Regular
> Expressions in der bash finde? - Ich habe mit Google gesucht und nichts
> passendes gefunden (nur Allgemeines ueber Regex).
> 

Advanced bash scripting guide. 

http://www.tldp.org/LDP/abs/html/regexp.html

> Was ich machen moechte, ist folgendes:
> 
> for file in (*.mp3|*.ogg)

for file in *.mp3 *.ogg

-- 
 Alles Gute / best wishes  
     Dietmar Goldbeck         E-Mail: dietmar.goldbeck at schotterweg.de
Reporter (to Mahatma Gandhi): Mr Gandhi, what do you think of Western
Civilization?  Gandhi: I think it would be a good idea.



More information about the Linux mailing list