[PATCH] compat42 sets compat41

2014-06-16 Thread Ondrej Oprala
shopt -s compat42 seems to actually set compat41, also leading shopt to report that both compat 41 and 42 are on. Thanks, Ondrej diff --git a/builtins/shopt.def b/builtins/shopt.def index 55d4543..80e257d 100644 --- a/builtins/shopt.def +++ b/builtins/shopt.def @@ -160,7 +160,7 @@ static struct {

Re: [PATCH] compat42 sets compat41

2014-06-16 Thread Chet Ramey
On 6/16/14, 7:30 AM, Ondrej Oprala wrote: > shopt -s compat42 seems to actually set compat41, also leading > shopt to report that both compat 41 and 42 are on. Thanks for the report. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis''

Re: set +o posix disables allowing tab as input

2014-06-16 Thread Chet Ramey
On 6/13/14, 4:18 AM, Linda Walsh wrote: > I have my tab key set to generate a tab key instead of doing auto complete > and use ` for auto complete -- not ideal, but it works. > > I found a bug in this today. > > GNU bash, version 4.2.45(1)-release (x86_64-suse-linux-gnu) > > if I type in "set +o

Re: Some kind of file descriptor overflow

2014-06-16 Thread Chet Ramey
On 6/13/14, 2:56 PM, Jorge Sivil wrote: > Yes, sorry. The minimum reproduceable code is: > > #!/bin/bash > function something() { > while true > do > while read VAR > do > dummyvar="a" > done < <(find "/run/shm/debora" -type f | sort) > sleep 3 > done > } > something &

Re: close(63) after ENOEXEC

2014-06-16 Thread Chet Ramey
On 6/11/14, 9:45 AM, Harald Koenig wrote: > Bash Version: 4.3 > Patch Level: 18 > Release Status: release > > Description: > bash closes fd #63 for process subsitution when executing script > without shebang line. > I don't see why this might be a feature -- so I assume it

typo in bashbug.sh of bash-4.3

2014-06-16 Thread Shantanu Kulkarni
Hi, For bash-4.3 in the bashbug.sh script there seems to be a typo on line 65. echo "$USAGE" >& 2 Notice the extra space after &. I have seen it over many years in earlier versions of the script too. Thanks, Shantanu

Re: typo in bashbug.sh of bash-4.3

2014-06-16 Thread Chris Down
What makes you think that that is a "typo" and not just some spacing that is other than your preference? That syntax (with or without spacing) is perfectly legal when referencing a descriptor. pgpSOER74XdS5.pgp Description: PGP signature

Re: set +o posix disables allowing tab as input

2014-06-16 Thread Linda Walsh
Chet Ramey wrote: On 6/13/14, 4:18 AM, Linda Walsh wrote: I have my tab key set to generate a tab key instead of doing auto complete and use ` for auto complete -- not ideal, but it works. I found a bug in this today. GNU bash, version 4.2.45(1)-release (x86_64-suse-linux-gnu) if I type in

Re: typo in bashbug.sh of bash-4.3

2014-06-16 Thread Chet Ramey
On 6/16/14, 5:03 PM, Shantanu Kulkarni wrote: > Hi, > For bash-4.3 in the bashbug.sh script there seems to be a typo on line 65. > > echo "$USAGE" >& 2 > Notice the extra space after &. I have seen it over many years in earlier > versions of the script too. Thanks for the report. Ch

Re: typo in bashbug.sh of bash-4.3

2014-06-16 Thread Chris Down
Chris Down writes: > What makes you think that that is a "typo" and not just some spacing > that is other than your preference? That syntax (with or without > spacing) is perfectly legal when referencing a descriptor. Apparently I forgot that's a zsh feature, not a POSIX/bash one... ignore me :-)