Re: sh(1) exec redirection

Edgar Fuß <[email protected]>
Newsgroups gmane.os.netbsd.devel.userlevel
Message-ID <Zytw/[email protected]>
I can understand that NetBSD's sh derives (unless set -o posix is given) from 
SUS in cases where SUS documents brain-dead historical behaviour.

However, passing fd's opened by exec to commands called later on doesn't 
appear obviously brain-dead to me.

Wouldn't it be more appropriate to have a close-everything-on-exec flag that 
/etc/rc can use instead of violating SUS on purpose?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.