negative list glob

Florian Lohoff flo at rfc822.org
Sat Feb 2 17:42:03 CET 2002


HI,
weiss jemand wie ich in der shell ein globbing hinbekommen was bestimmte
sachen ausschliesst anstatt einschliesst ?

Also das umgekehrte von

ls *CVS*

z.b.

Ueber die bash "extglob" geschichten sollte man das hinbekommen - Nu
haette ich das gerne auch auf eine Sun !?! 

Ewig ein 

ls -1 | grep -v CVS 

ist doof - Ausserdem - Wenn man das shell script gerne mit
-e laufen lassen wuerde d.h. bei jedem fehler abbrechen und das
CVS verzeichnis ist mal nicht da -> boing ...

Flo
-- 
Florian Lohoff                  flo at rfc822.org             +49-5201-669912
Nine nineth on september the 9th              Welcome to the new billenium
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20020202/f3da4e39/attachment.sig>


More information about the Linux mailing list