xref: /freebsd/bin/sh/tests/builtins/fc3.0 (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
1export PS1='_ ' # cannot predict whether ran by root or not
2
3echo ': command1
4: command2
5: command3
6: command4
7fc -l -n -1
8fc -ln 2 3
9' | ENV= HISTFILE=/dev/null ${SH} +m -i
10