Re: bash segfault on unsetting bad associative array

2010-08-16 Thread Roman Rakus
On 08/13/2010 03:55 PM, ordcoder wrote: Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' -DCONF_VENDO

Re: \c escape within $'...' can produce mangled UTF-8

2010-08-16 Thread Greg Wooledge
On Sun, Aug 15, 2010 at 02:02:05PM +0400, Dmitry Groshev wrote: > You are wrong. Try "echo $'\x{123456}AB'" and look at the result. > Or read the source code: lib/sh/strtans.c The manual (bash 4.1) says: \xHH the eight-bit character whose value is the hexadecimal value

Re: [bash-bug] [bash-bug] PIPESTATUS always returns only a single element

2010-08-16 Thread Dr. Werner Fink
On Fri, Aug 13, 2010 at 12:18:23PM +0200, Werner Fink wrote: > On Thu, Aug 12, 2010 at 05:37:55PM -0500, lstee...@gmail.com wrote: > > #!/bin/bash > > # > > # A script to test PIPESTATUS and pipefail > > # > > echo " cmd: set +o pipefail" > > echo " pipe: ps -ef 2>&1 | grep "^\$USR" >/dev/null"

Re: bash segfault on unsetting bad associative array

2010-08-16 Thread Chet Ramey
On 8/16/10 5:05 AM, Roman Rakus wrote: > On 08/13/2010 03:55 PM, ordcoder wrote: >> Configuration Information [Automatically generated, do not change]: >> Machine: x86_64 >> OS: linux-gnu >> Compiler: gcc >> Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' >> -DCONF_OSTYPE='linux-gnu