Hi David,
I am not sure about that shell syntax; someone else will have to confirm
if it's portable enough.
! isn't portable. Neither is egrep -q.
What kind of portability are we aiming at? ! is in POSIX;
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_02
Similarly, `grep -Eq' is too;
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/grep.html#tag_20_55_04
Are you thinking of a Sun without modern stuff in its path?
Cheers, Ralph.
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers