[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] Third release candidate for nmh 1.6 now available
From: |
David Levine |
Subject: |
Re: [Nmh-workers] Third release candidate for nmh 1.6 now available |
Date: |
Wed, 11 Jun 2014 18:54:59 -0400 |
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