[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
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2
-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
Description:
The form $'string' does not get expanded if it occurs in
a double-quoted string even if shopt extquote is on.
Repeat-By:
$ shopt -s extquote
$ shopt extquote # Verify it is "on":
extquote on
$ echo A__$'\n'__B # Works ok:
A__
__B
$ echo "A__$'\n'__B" # Wrong, should be same as previous:
A__$'\n'__B
Regards, Enrique
- shopt extquote not working,
Enrique Perez-Terron <=