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