Messages in this thread | | | Date | Mon, 12 May 2008 15:22:17 +0200 | From | Arnd Hannemann <> | Subject | Re: cross-compiling on OS X, make menuconfig fails |
| |
SL Baur wrote: > On 5/3/08, Roland Kuhn <rkuhn@e18.physik.tu-muenchen.de> wrote: > >> Hi Steve! >> >> >> On 3 May 2008, at 08:55, SL Baur wrote: >> > > >>> $ uname -v >>> Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; >>> root:xnu792.25.20~1/RELEASE_I386 >>> >>> >>> >> Yes, they changed that between Tiger and Leopard, where I have >> >> --- >> $ uname -v >> Darwin Kernel Version 9.2.2: Tue Mar 4 21:17:34 PST 2008; >> root:xnu-1228.4.31~1/RELEASE_I386 >> $ /bin/bash -c 'echo -e "buh\n"' >> buh >> >> $ /bin/sh -c 'echo -e "buh\n"' >> -e buh >> >> $ /bin/echo -e "buh\n" >> -e buh\n >> --- >> >> The second one is POSIX+XSI, the third one plain POSIX. The first one is >> what people are used to ;-) >> > > Check. > > $ /bin/bash -c 'echo -e "buh\n"' > buh > > $ /bin/sh -c 'echo -e "buh\n"' > buh > > $ /bin/echo -e "buh\n" > -e buh\n > > Of all the things to "standardize" on, why something like bash > which has no standards? pdksh, ash, dash or POSIX mode zsh, > would have been better... > > It also depends on the shell option xpg_echo IIRC. If xpg_echo is off echo -e should work in /bin/sh, too.
Regards, Arnd
| |