[Bug 70962] Re: Make's “echo” behaviou r changes after upgrade to Edgy

2007-04-11 Thread Micah Cowan
Note that even -n isn't portable (as it isn't allowed by POSIX). -- Make's “echo” behaviour changes after upgrade to Edgy https://bugs.launchpad.net/bugs/70962 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing

[Bug 70962] Re: Make's “echo” behaviou r changes after upgrade to Edgy

2007-04-11 Thread Paul Smith
Make runs scripts using /bin/sh (or the shell you specify by setting SHELL=xxx in your makefile). On Ubuntu, /bin/sh is dash. Dash is (intended to be) as trim and fast as possible, while still 100% POSIX-compatible. The "echo" command is defined by POSIX, and that definition doesn't specify a -e

[Bug 70962] Re: Make's “echo” behaviou r changes after upgrade to Edgy

2006-11-08 Thread LionsPhil
Ah. If you mean that Make will be running the scripts in this dash shell, that's the problem. It appears that dash has a built-in echo which doesn't support the flags. (It's echo that should be doing the expansion, not the shell, when provided the “-e” flag. You can demonstrate this with a Perl

[Bug 70962] Re: Make's “echo” behaviou r changes after upgrade to Edgy

2006-11-08 Thread Jeremy Teale
Apologies, I should have checked the man page. The -e option is not a valid option under dash. According to the manpage, -n is the only valid option. I will mark this bug rejected. If you are still experiencing strange behavior after correcting your makefile/scripts or you feel my actions to be in

[Bug 70962] Re: Make's “echo” behaviou r changes after upgrade to Edgy

2006-11-08 Thread Jeremy Teale
Hello and thank you for reporting. Edgy uses dash for non-interactive scripts now. If you need character interpolation, you should use GNU echo. Backslashed character interpolation is most likely a bash extension. I'll not mark this rejected, perhaps this is a valid wishlist item. I leave that deci