opnsense-src/bin/sh/tests/parser/heredoc3.0
Warner Losh d0b2dbfa0e Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2023-08-16 11:55:03 -06:00

6 lines
127 B
Text

# This may be expected to work, but pretty much only ash derivatives allow it.
test "$(cat <<EOF)" = "hi there"
hi there
EOF