I've been meaning to thank Eric Blake for packaging the bash debugger
on cygwin (where others previously had either no interest or gave
up). So thanks!
That said, this bug report isn't relevant to full-fledged bash
debugger, but the older pot-bellied pig debugger which is included in
the bash dist
Both zsh and ksh have a way to open a file or duplicate a file
descriptor and let the interpreter pick the descriptor saving the
newly-allocated file descriptor number in a variable. In particular:
exec {fd}<&0
will duplicate stdin and save the newly allocated file-descriptor
number to fd. Als
Pierre Gaston writes:
> On Tue, Aug 26, 2008 at 5:41 AM, R. Bernstein <[EMAIL PROTECTED]> wrote:
> > Both zsh and ksh have a way to open a file or duplicate a file
> > descriptor and let the interpreter pick the descriptor saving the
> > newly-allocated file descript
Pierre Gaston writes:
> On Tue, Aug 26, 2008 at 4:49 PM, R. Bernstein <[EMAIL PROTECTED]> wrote:
> > Pierre Gaston writes:
> > > On Tue, Aug 26, 2008 at 5:41 AM, R. Bernstein <[EMAIL PROTECTED]> wrote:
> > > > Both zsh and ksh hav
Chet Ramey writes:
> R. Bernstein wrote:
> > Both zsh and ksh have a way to open a file or duplicate a file
> > descriptor and let the interpreter pick the descriptor saving the
> > newly-allocated file descriptor number in a variable. In particular:
> >
> >
Chet Ramey writes:
> R. Bernstein wrote:
>
> > Right now what bashdb assumes that file descriptors 4 through 9 are
> > free, but it really has no right to assume that. And in fact, GNU
> > autoconf configure will use file descriptors in this range. Also using
> &g
Chet Ramey writes:
> > Redirections using file descriptors greater than 9 should be used with
> > care, as they may conflict with file descriptors the shell uses
> > internally.
...
> The sentence is more a caution about the previously-mentioned clexec bugs.
> As a practical matter, you