nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Third release candidate for nmh 1.6 now available

2014-06-11 17:55:27
Ralph wrote:

Hi David,

! 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;

I should have typed "grep" instead of "egrep", but doesn't matter
for this purpose.  Not all grep's support -q.

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?

Pretty much.  I test with heirloom sh and posh.  So the limits
are reasonably well defined and it's easy to detect attempts to
go outside them.  Until we need more, I'd like to stick with them.

David

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>