Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes:

>   m4_define([AS_STDIN_FD], 7)
>
>   exec AS_STDIN_FD<&0 </dev/null

Yes, that's the sort of thing I was thinking about.  Though I'd
make its use more like this:

AS_STDIN_FD(fd-number)

with the default value being 7.  The net-snmp folks could then use

AS_STDIN_FD(0)

and otherwise wouldn't have to change their scripts.


Reply via email to