Re: [dev] Shell style guide

From: Marc Collin <marc.collin7_AT_gmail.com>
Date: Thu, 8 Sep 2016 00:03:51 -0300

What people here think of heredoc?

cat << EOF
1st line
2nd line
3rd line
4th line
EOF

OR

echo "1st line"
echo "2nd line"
echo "3rd line"
echo "4th line"

OR

printf "1st line\n"
printf"2nd line\n"
printf"3rd line\n"
printf"4th line\n"


On Wed, Sep 7, 2016 at 6:46 PM, Tiago Natel de Moura
<tiago4orion_AT_gmail.com> wrote:
> Good compilation of best practices. That's one of the causes I created
> nash[1], a shell with sane defaults.
>
>
> 1. https://github.com/NeowayLabs/nash
>
> --
> []'s
> i4k
>
Received on Thu Sep 08 2016 - 05:03:51 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 08 2016 - 05:12:11 CEST