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 
    !!
    !!
    $

I'd expect the second `!!' to be `: bar'.
What am I misunderstanding?

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy

Reply via email to