mail.sh: avoid use of echo in favor of printf
commit79eac470c5cd6f8e4c670b9acd758b0a25219f03
authorKyle J. McKay <mackyle@gmail.com>
Thu, 5 Mar 2015 04:24:11 +0000 (4 20:24 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Thu, 5 Mar 2015 04:24:11 +0000 (4 20:24 -0800)
tree2b9ed758d1ed9cd345aec056c2dc995958c3ab29
parent292ed7f4d74de5094110a6939330d89831c0cb6e
mail.sh: avoid use of echo in favor of printf

The 'echo' function may accept options and if the content
being echoed comes from an external source and starts with
a '-' it could be misinterpreted as an option for the echo
command.

Instead define a echol command that uses printf to output
the arguments exactly followed by a newline regardless of
whether or not they may start with '-'.
taskd/mail.sh