One of the driving goals for dash is that it be as POSIX-compliant as
possible, which would specifically preclude treating -e (or any other
"options") as anything other than a normal argument. printf is much more
portable for interpreting escape sequences.
** Changed in: dash (Ubuntu)
Statu
in my understanding echo -e is not in POSIX (cf
http://www.opengroup.org/onlinepubs/95399/utilities/echo.html)
--
dash "echo -e" echoes "-e"
https://launchpad.net/bugs/72167
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
This also breaks the drbd0.7-module-source package so that it's
compilation fails.
I suppose this is the perogative of the DASH author(s), but it breaks
the -e option convention used by both the BASH builtin as well as the
/bin/echo program.
--
dash "echo -e" echoes "-e"
https://launchpad.net/bu
I confirm this bug.
Because of it for example xmail does not install (the postinst scripts need to
echo -e user pass >ctrlaccounts.tab )
Why is dash included as /bin/sh, anyway ?! It seems a lot of people out there
have compatibility problems with this cr*p.
BTW, this is not so much a dash issu