Re: [dev] Shell style guide
On Thu, Sep 8, 2016 at 12:27 AM, <ssd_AT_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
Received on Thu Sep 08 2016 - 15:48:24 CEST
This archive was generated by hypermail 2.3.0
: Thu Sep 08 2016 - 16:00:15 CEST