I assume that it's not failing on this:
if script -S /bin/sh 'echo OK' /dev/null 2>&1 | egrep 'OK' >/dev/null;
because I don't think that MacOS X script supports -S.
Yes, that's correct.
The strange thing is ... the problem is _input_ redirection. This
works fine on MacOS X:
% script > /dev/null
This hangs script in a tight loop:
% script < /dev/null
And I'm not sure where input redirection happens (I verified that standard
input was set to /dev/null via lsof).
Does removing the output redirection to /dev/null on lines61 help? If
so, that's wierd but we could deal with it.
I'll experiment some more.
--Ken
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers