[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Possibly incorrect parsing of double doublequotes

From: Mårten Wikström
Subject: Possibly incorrect parsing of double doublequotes
Date: Mon, 9 May 2011 14:02:29 +0200

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-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'
-DSHELL -DHAVE_CONFIG_H   -I.  -I../bash -I../bash/include
-I../bash/lib   -g -O2 -Wall
uname output: Linux heinrich 2.6.38-8-generic #42-Ubuntu SMP Mon Apr
11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

Bash Version: 4.2
Patch Level: 8
Release Status: release

        When parsing double double-quotes (i.e. """") it will be replaced by the
        value 0x7f, if there are characters before or after it. In bash 4.1 
        double-quotes were simply removed.

        $ echo """"a >t
        $ hexdump -C t
        00000000  7f 61 0a                                          |.a.|

reply via email to

[Prev in Thread] Current Thread [Next in Thread]