On Thu, Sep 8, 2016 at 12:27 AM, <s...@mailless.org> wrote: > is there a special reason people use `EOF` rather than anything else. > FWIW, I use a dot. looks very clear and natural to me, saves some > keystrokes, feels right, just as ending a sentence with full stop. > > cat <<. > 1st line > 2nd line > 3rd line > 4th line > .
I wouldn't use . because I often use heredocs as input for ed. I do like using DOG because it makes the 12 year old in me giggle. cat << DOG