EuAndreh@programming.dev to Programming@programming.dev · 2 days agoMultiline comments in POSIX sheuandre.orgexternal-linkmessage-square28linkfedilinkarrow-up11file-text
arrow-up11external-linkMultiline comments in POSIX sheuandre.orgEuAndreh@programming.dev to Programming@programming.dev · 2 days agomessage-square28linkfedilinkfile-text
minus-squaretalkingpumpkin@lemmy.worldlinkfedilinkarrow-up0·19 hours agois : <<EOF text text EOF a bash-ism?
minus-squareEuAndreh@programming.devOPlinkfedilinkarrow-up0·16 hours agoAFAICT, not really, looks line POSIX sh at a glance. Just don’t forget to : <<'EOF' instead of : <<EOF. But : is arguably simpler than cat, one fewer fork/exec call plus no open(2) on /dev/null.
is
: <<EOF text text EOFa bash-ism?
AFAICT, not really, looks line POSIX sh at a glance. Just don’t forget to
: <<'EOF'instead of: <<EOF.But
:is arguably simpler thancat, one fewer fork/exec call plus noopen(2)on/dev/null.