[Top][All Lists]

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

shopt extquote not working

From: Enrique Perez-Terron
Subject: shopt extquote not working
Date: Sat, 03 Sep 2005 05:15:10 +0200
User-agent: Opera M2/8.02 (Linux, build 1272)

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: i386-redhat-linux-gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' 
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H  -I.  -I. -I./include -I./lib  -D_GNU_SOURCE 
-fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables
uname output: Linux apeiron.home.lan 2.6.12-1.1398_FC4 #1 Fri Jul 15 00:52:32 
EDT 2005 i686 i686 i386 GNU/Linux
Machine Type: i386-redhat-linux-gnu

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

        The form $'string' does not get expanded if it occurs in
        a double-quoted string even if shopt extquote is on.

        $ shopt -s extquote
        $ shopt extquote   # Verify it is "on":
        extquote        on
        $ echo A__$'\n'__B # Works ok:
        $ echo "A__$'\n'__B" # Wrong, should be same as previous:

Regards, Enrique

reply via email to

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