[ LUGOS ] regexp find ?

Matjaz Straus matjaz.straus na arnes.si
Tor Mar 14 22:23:23 CET 2000


Morda z find . -name "[1-9]*" ...?

In-reply-to: Your message dated: Tue, 14 Mar 2000 22:17:42 +0100
> Zivjo
> 
> Kako bi spodnjo saro :
> 
> find . -name "1*" -exec awk -f foo.awk {} >test.txt ';'
> find . -name "2*" -exec awk -f foo.awk {} >>test.txt ';'
> find . -name "3*" -exec awk -f foo.awk {} >>test.txt ';'
> find . -name "4*" -exec awk -f foo.awk {} >>test.txt ';'
> find . -name "5*" -exec awk -f foo.awk {} >>test.txt ';'
> find . -name "6*" -exec awk -f foo.awk {} >>test.txt ';'
> find . -name "7*" -exec awk -f foo.awk {} >>test.txt ';'
> find . -name "8*" -exec awk -f foo.awk {} >>test.txt ';'
> find . -name "9*" -exec awk -f foo.awk {} >>test.txt ';'
> 
> Spravil v eno vrstico ? Torej, kako find-u podati te fajle kot en
> regex?




Dodatne informacije o seznamu Starilist