Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash' 
-DSHELL -DHAVE_CONFIG_H  -I.  -I. -I./include -I./lib   -g -O2
uname output: Linux node1 2.6.12-smp #6 SMP Tue Jun 28 00:07:00 EDT 2005 i686 
unknown unknown GNU/Linux
Machine Type: i686-pc-linux-gnu

Bash Version: 3.0
Patch Level: 0
Release Status: release

Description:
        'declare -p' adds backslash (\) in front of newline.  When this
        is fed back, the newline disappears.  Should this happen?

Repeat-By:
        0 node1:~$ a='11
        > 22'
        0 node1:~$ declare -p a
        declare -- a="11\
        22"

        'declare -p' supposed to print stuffs that can be fed back.  So,
        when it is fed back, the newline disappears.

        0 node1:~$ declare b="11\
        > 22"
        0 node1:~$ declare -p b
        declare -- b="1122"



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

Reply via email to