How can I output a multipline string in Bash without using multiple echo calls like so:
echo \"usage: up [--level | -n ][--help][--version
Also with indented source code you can use <<- (with a trailing dash) to ignore leading tabs (but not leading spaces).
<<-
For example this:
if [ some test ]; then cat <<- xx line1 line2 xx fi
Outputs indented text without the leading whitespace:
line1 line2