ash (1.13.3, svn), ">&0"

Denys Vlasenko vda.linux at googlemail.com
Thu Mar 19 01:52:14 UTC 2009


On Wednesday 18 March 2009 19:16, Mikhail Gusarov wrote:
> Hello,
> 
> I can't make busybox ash (1.13.3 and svn trunk) to duplicate the stdin:
> 
> ./busybox ash -c "exec 1>&0"
> ash: 0: Bad file descriptor
> 
> bash & debian ash seem to handle such construction. Is it a bug, is this
> statement non-standard or maybe something else?
> 
> .config file is attached.

Try this patch
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ash.c.diff
Type: text/x-diff
Size: 617 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090319/a449bacd/attachment.bin>


More information about the busybox mailing list