lkml.org 
[lkml]   [2008]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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





\
 
 \ /
  Last update: 2008-05-12 15:55    [W:0.062 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site