dash "echo -e" echoes "-e"
Bug #72167 reported by
Romano Giannetti
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dash (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Not sure if it's a bug or a feature, but:
dash > echo -e string
dash > -e string
... which breaks for example the build of pyxplot under edgy, in which the makefile builds some files with "echo -e something > file".
Probably it's not strictly a bug in dash (most probably pyxplot developers should have used /bin/echo instead of echo) but well, I think it's good to report here.
To post a comment you must log in.
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 issue but an Ubuntu (as a distro) issue, as dash should have not been included as the default shell anyway - it creates too much compatibility problems. (ubuntu-minimal depends on dash )