summaryrefslogtreecommitdiffstats
path: root/tests/histexp2.sub
blob: bb5bfda4f69112fcb1047f0c895cac4ab9fa6a46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
LANG=C LC_ALL=C

set -o history
echo a
echo b
echo c

set -o histexpand
set -o posix

echo "#!/bin/bash" !!

echo '!!'
echo "!!"