summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2022-09-27 12:28:26 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2022-09-27 12:28:26 +0000
commit69ef1a0410fd47785c23329f203a920594701ac3 (patch)
tree0f99b21b85a4cc26613e091a65679d92fd07d816 /share
parenteeea7fc6a3c18d722aadde97a069eb90d6ac23f2 (diff)
Avoid escaping inside here documents
The delimiter can be quoted (single or double) to disable parameter, command and arithmetic expansion inside the here document: $ cat <<__EOT echo $(echo foo) __EOT echo foo $ cat <<'__EOT' echo $(echo foo) __EOT echo $(echo foo) Do the latter to be able to write the here document/file content exactly as it would end up in output/rc.firsttime, making it easier to read. To be more consistent and explicit, switch the remaining here documents with pure plain text (no shell expansion, etc.) to quoted delimiters. OK millert
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions