[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fds above 9 and internal fds

From: Chet Ramey
Subject: Re: fds above 9 and internal fds
Date: Sun, 10 Oct 2004 16:48:35 -0400
User-agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.7.3) Gecko/20040910

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]