lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <48284489.4040609@arndnet.de>
Date:	Mon, 12 May 2008 15:22:17 +0200
From:	Arnd Hannemann <arnd@...dnet.de>
To:	SL Baur <steve@...acs.org>
Cc:	Roland Kuhn <rkuhn@....physik.tu-muenchen.de>,
	Sam Ravnborg <sam@...nborg.org>,
	Al Viro <viro@...iv.linux.org.uk>,
	Timur Tabi <timur@...escale.com>,
	Tony Breeds <tony@...eyournoodle.com>,
	linux-kernel@...r.kernel.org
Subject: Re: cross-compiling on OS X, make menuconfig fails

SL Baur wrote:
> On 5/3/08, Roland Kuhn <rkuhn@....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



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ