Echo: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Linux =Idiosyncrasies= <syntaxhighlight lang='bash'> echo "$@" </syntaxhighlight> will not behave as expected if the first argument of the c...")
 
(No difference)

Latest revision as of 03:31, 4 May 2021

Internal

Idiosyncrasies

echo "$@"

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

echo -- "$@"