[LUGOS-PROG] find -name -o -name - wtf?
Bosnjak Zoran ITWEV2
bosnjak at iskratel.si
Thu Mar 28 17:02:59 CET 2002
Zdravo,
find . | grep ".*\.[ch(sql)]$" | xargs wc -l
Samo s "find" mi ni uspelo.
lp,
Zoran
> -----Original Message-----
> From: David Klasinc [mailto:bigwhale at lubica.net]
> Sent: Thursday, March 28, 2002 4:25 PM
> To: lugos-list at lugos.si
> Cc: lugos-prog at lugos.si
> Subject: [LUGOS-PROG] find -name -o -name - wtf?
>
>
> Banzai!
>
> find ./ -name *.c -o -name *.h -o -name *.sql -exec wc -l \;
>
> ali komu to deluje pravilno?
>
> Oz, kako to napisat, da _bo_ delovalo pravilno??
>
> Hocem da mi v vseh .c/.h/.sql presteje vrstice... simple...
> NAK! Ne gre kar tako...
>
> In ja.. HOCEM to s findom... :)
>
>
> --
> David!
>
More information about the lugos-prog
mailing list