mirror of
https://github.com/opnsense/src.git
synced 2026-03-28 13:43:12 -04:00
Example (in interactive mode): cat <<EOF && ) The next command typed caused sh to segfault, because the state for the here document was not reset. Like parser_temp, this uses the fact that the parser is not re-entered.
5 lines
97 B
Text
5 lines
97 B
Text
# $FreeBSD$
|
|
|
|
r=
|
|
! command eval ": <<EOF; )" 2>/dev/null; command eval : hi \${r:=0}
|
|
exit ${r:-3}
|