android_mt6572_jiabo/external/bash/tests/history1.sub
2025-09-05 16:56:03 +08:00

15 lines
156 B
Text

trap 'rm -f $HISTFILE' 0 1 2 3 6 15
HISTFILE=foohist-$$
unset HISTIGNORE HISTCONTROL
set -o history
history -c
cat <<!
one
two
three
!
history
fc -s cat