reopen 303649
retitle 303649 [fixed in 3.1] bash: echo builtin should recognize '--' option
tags 303649 + upstream
tags 303649 + fixed-upstream
thanks
one more thing:
bash-3.1 will have a change:
In POSIX mode, if `xpg_echo' option is enabled, the `echo' builtin
doesn't try to interpret any
Package: bash
Version: 2.05b-26
Severity: normal
Echo does not support the '--' flag.
It should to, otherwise any script containing the line:
echo $x
is are prone to unexpected bugs,
if $x is unexpectedly set to
'-n', '-e', or '-E', '--help', or '--version'.
If echo recognized '--', then a
2 matches
Mail list logo