[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
History substitution fails after semi-colon pound
From: |
Josh Harding |
Subject: |
History substitution fails after semi-colon pound |
Date: |
Tue, 17 Dec 2013 10:46:26 -0600 |
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-unknown-linux-gnu'
-DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/share/locale'
-DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include
-I./lib -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe
-fstack-protector --param=ssp-buffer-size=4
-DDEFAULT_PATH_VALUE='/usr/local/sbin:/usr/local/bin:/usr/bin'
-DSTANDARD_UTILS_PATH='/usr/bin' -DSYS_BASHRC='/etc/bash.bashrc'
-DSYS_BASH_LOGOUT='/etc/bash.bash_logout'
uname output: Linux astro 3.12.5-1-ARCH #1 SMP PREEMPT Thu Dec 12
12:57:31 CET 2013 x86_64 GNU/Linux
Machine Type: x86_64-unknown-linux-gnu
Bash Version: 4.2
Patch Level: 45
Release Status: release
Description:
History substitution fails after a semi-colon and pound sign
on a command line.
Repeat-By:
echo foo
echo ";" !$
echo "#" !$
echo "#;" !$
echo ";#" !$ ### This one prints !$ instead of foo
- History substitution fails after semi-colon pound,
Josh Harding <=