reddit discussion on replacing Python in 0install

"Jérôme M. Berger" jeberger at free.fr
Tue Jun 11 11:44:17 PDT 2013


Andrei Alexandrescu wrote:
> On 6/11/13 3:09 AM, Jacob Carlborg wrote:
>> On 2013-06-11 08:38, Nick Sabalausky wrote:
>>
>>> I just tried both on Debian 6:
>>>
>>> nick at debian6:~$ cat 1< /dev/null
>>> cfws
>>> cat: write error: Bad file descriptor
>>> nick at debian6:~$ echo meh 1< /dev/null
>>> bash: echo: write error: Bad file descriptor
>>>
>>> Maybe OSX behaves differently?
>> I get the same on Mac OS X 10.6.3 using bash. Is Andrei perhaps using
>> another shell?
> 
> I use zsh. Indeed under bash I can reproduce the failure. But if I run 
> the printf-based test, it exits successfully.
> 
	Note that for zsh, "echo" is a builtin command, whereas bash calls
the /usr/bin/echo executable...

		Jerome
-- 
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130611/b95454bd/attachment.pgp>


More information about the Digitalmars-d mailing list