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

10 lines
164 B
Text

set -o history
HISTSIZE=256
HISTFILE=/dev/null
# these two lines should be the same
echo ${BASH_VERSION%\.*}
echo $(fc -nl -1)
echo ${BASH_VERSION%\.*}
fc -nl -1