"echo: write error: Broken pipe" even when DONT_REPORT_SIGPIPE set

2006-01-09 Thread Tim Waugh
Comparing bash-3.0 (with config-top.h modified so that DONT_REPORT_SIGPIPE is defined) with bash-3.1 (where this is the default anyway) shows up a change in behaviour. bash-3.0: $ bash -c 'trap exit SIGPIPE; echo foo' | : $ bash-3.1: $ bash -c 'trap exit SIGPIPE; echo foo' | : bash: line 0: ec

Re: "echo: write error: Broken pipe" even when DONT_REPORT_SIGPIPE set

2006-01-09 Thread Chet Ramey
Tim Waugh wrote: > Comparing bash-3.0 (with config-top.h modified so that > DONT_REPORT_SIGPIPE is defined) with bash-3.1 (where this is the > default anyway) shows up a change in behaviour. > > bash-3.0: > > $ bash -c 'trap exit SIGPIPE; echo foo' | : > $ > > bash-3.1: > > $ bash -c 'trap exi

yank-last-arg after a #

2006-01-09 Thread Dan Jacobson
I do $ # x y z $ zzz the ESC. doesn't get the last argument these days if there was a #. I get a bell. OK, I'll use ":" then I suppose now. Wait, $ xx yy zz # qq ESC. still gets the qq. And ^P still recalls lines, no matter where the # is. bash3.1.0(1). __

Bash-3.1 patch 3

2006-01-09 Thread Chet Ramey
BASH PATCH REPORT = Bash-Release: 3.1 Patch-ID: bash31-003 Bug-Reported-by: Adam Buraczewski <[EMAIL PROTECTED]> Bug-Reference-ID: <[EMAIL PROTECTED]> Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2005-12/m

Bash-3.1 patch 4

2006-01-09 Thread Chet Ramey
BASH PATCH REPORT = Bash-Release: 3.1 Patch-ID: bash31-004 Bug-Reported-by: Mike Frysinger <[EMAIL PROTECTED]> Bug-Reference-ID: <[EMAIL PROTECTED]> Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2005-12/msg

Bash-3.1 patch 5

2006-01-09 Thread Chet Ramey
BASH PATCH REPORT = Bash-Release: 3.1 Patch-ID: bash31-005 Bug-Reported-by: Bug-Reference-ID: Bug-Reference-URL: Bug-Description: When tilde expansion fails, POSIX leaves it unspecified whether or not the word undergoes t

man page doesn't say typeset obsolete

2006-01-09 Thread Dan Jacobson
But the man page doesn't say obsolete: $ help typeset typeset: typeset [-afFirtx] [-p] name[=value] ... Obsolete. See `declare'. ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash

Bash-3.1 patch 2

2006-01-09 Thread Chet Ramey
BASH PATCH REPORT = Bash-Release: 3.1 Patch-ID: bash31-002 Bug-Reported-by: [EMAIL PROTECTED] Bug-Reference-ID: <[EMAIL PROTECTED]> Bug-Reference-URL:http://lists.gnu.org/archive/html/bug-bash/2005-12/msg00021.html Bug-Des

Re: yank-last-arg after a #

2006-01-09 Thread Chet Ramey
> $ xx yy zz # qq > ESC. still gets the qq. I get `zz'. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ( ``Discere est Dolere'' -- chet ) Live Strong. Chet Ramey, ITS, CWRU[EMAIL PROTECTED]http://tiswww.tis.case.edu/~c

Passing command line to scripts and programs

2006-01-09 Thread Grant Jacobs
Item: No environment variable or other easy means is currently available to pass the complete command line to daughter scripts and programs. Maybe this is a feature request rather than a bug per se, but I'd appreciate those who know better than me bearing with me (I'm happy to hear suggestion

bash -c error

2006-01-09 Thread U-DULI2\Krzysiek
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: cygwin Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE='i686-pc-cygwin' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -

tmp file creation in bash provided scripts

2006-01-09 Thread Jeremy C. Reed
I noticed bashbug attempts creating temp file first with mktemp, and then falls back to tempfile, and then to just using its own $TMPDIR/bbug.$$. A malicious user could attempt prepulating bogus files to make it so that mktemp and tempfile fail, and create many symlinks covering your PID range

Single quotes are lost from v="$(cmd $'A\tB')"

2006-01-09 Thread mike . stroyan
Configuration Information [Automatically generated, do not change]: Machine: ia64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='ia64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='ia64-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/share/locale' -DP

Still not stable

2006-01-09 Thread R.K.
# uname -rmo 2.4.22-rmap15k i586 GNU/Linux # bash --version GNU bash, version 3.1.5(1)-release (i586-pc-linux-gnu) (configured with --without-bash-malloc) There are still very many errors reported by the test suite, including three segmentation faults and several instances of not locating test c