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' -DPACKA
> On 2018 Jan 21 , at 7:13 a, Ralph Corderoy wrote:
>
> Hi,
>
> Please keep me CC'd.
>
> bash package 4.4.012-2 on Arch Linux,
> `version 4.4.12(1)-release (x86_64-unknown-linux-gnu)'.
>
> I'm trying to enable history expansion in a non-interactive bash with
> `set -H'.
>
>$ printf '%s\n
Hi,
Please keep me CC'd.
bash package 4.4.012-2 on Arch Linux,
`version 4.4.12(1)-release (x86_64-unknown-linux-gnu)'.
I'm trying to enable history expansion in a non-interactive bash with
`set -H'.
$ printf '%s\n' ': foo' 'echo !!' 'set -H' ': bar' 'echo !!' |
> bash
!!
!!