xref: /freebsd/bin/sh/tests/builtins/fc3.0 (revision 8aac90f18aef7c9eea906c3ff9a001ca7b94f375)
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