How can I output a multipline string in Bash without using multiple echo calls like so:

echo "usage: up [--level <n>| -n <levels>][--help][--version]"
echo 
echo "Report bugs to: "
echo "up home page: "

I’m looking for a portable way to do this, using only Bash builtins.

12 Answers
12

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *