logo       

Re: fds above 9 and internal fds: msg#00129

shells.bash.bugs

Subject: Re: fds above 9 and internal fds

Stephane Chazelas wrote:

Maybe there should be reserved fds for bash internal use or only
allow fds 0 to 9 on the LHS of redirections as in other
Bourne-like shells. Or maybe document that it's dangerous (and
not portable) to use fds above 9. Another way would be to save
all the internally used fds when they are used by the user.

Thanks for the report. I added a heuristic that should make it
less of a problem, and a cautionary note to the man page.

Chet


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise