Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: i686-pc-linux-gnu-gcc
Compilation 
CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' 
-DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' 
-DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H   -I.  
-I. -I./include -I./lib   -march=pentium-m -Os -pipe
uname output: Linux BA 2.6.20-suspend2-r4 #1 PREEMPT Tue Apr 24 08:51:12 CEST 
2007 i686 Intel(R) Pentium(R) M processor 1600MHz GenuineIntel GNU/Linux
Machine Type: i686-pc-linux-gnu

Bash Version: 3.2
Patch Level: 15
Release Status: release

Description:
    If a function f set a variable v to $'\001' then type f or set
    add a second \001 in it's output. Hence v becomes $'\001\001'.
    You'll need to use a hex viewer (in the example xxd) to see it.

Repeat-By:
    f() {
        v=$'\001'
    }
    type f | xxd


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to