Echo

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Idiosyncrasies

echo "$@"

will not behave as expected if the first argument of the calling script is -n. To avoid this situation, use:

echo -- "$@"