On Mon, 28.03.2005 at 09:06:08 -0600, Eric Anderson wrote: > + MP=`mount -t ufs | egrep -v " no(suid|exec)" | awk '{ print $3 }' | egrep -v "($excludes)" | sort` You need to consider boundaries. Having /vol, /vol1 and /vol2, setting excludes to "vol" will result in ".*vol.*" being excluded. I would suggest using full paths ("/vol") and this regexp: "^$(excludes)\$", that way one can also exclude / by putting "/" into $excludes. Ulrich Spörlein -- PGP Key ID: F0DB9F44 Encrypted mail welcome! Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44 Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn." didn't you understand?
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:30 UTC