[BusyBox] ash dot command loses args in 1.00-pre8
Peter Milne
peterm at remware.demon.co.uk
Wed Apr 7 19:16:38 UTC 2004
Hi Erik
I'm sorry, bad example, this from a freshly built busybox:
[pgm at islay busybox.test]$ . ./dotty aa bb
d0 bash d1 aa d2 bb ;# GOOD
[pgm at islay busybox.test]$ ./sh
BusyBox v1.00-pre8 (2004.04.07-19:11+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
~/PROJECTS/ACQ200/tools/busybox.test $ . ./dotty aa bb
d0 ./sh d1 d2 ;# BAD
^^^^^^^^^^^^^ $1 $2 gone missing.
/Peter.
Erik Andersen wrote:
>On Wed Apr 07, 2004 at 05:52:20PM +0100, Peter Milne wrote:
>
>
>>Just upgraded from 0.6 to 1.00-pre8
>>
>>Dot command handling handled args correctly (same as bash) in 0.60,
>>but failed in 1.00:
>>
>>example:
>>
>>root at bb1.00 / #cat dotty
>>#!/bin/sh
>>echo d0 $0 d1 $1 d2 $2
>>
>>root at bb1.00 / #. ./dotty aa bb
>>d0 -sh d1 aa d2 bb ;# WRONG!
>>
>>
>>root at bb0.60 / #. ./dotty aa bb
>>d0 -sh d1 aa d2 bb ;# CORRECT
>>
>>
>
>Perhaps I am being dense here, but what exactly has changed
>between the "WRONG" and the "CORRECT" case above? They look
>identical to me,
>
> -Erik
>
>--
>Erik B. Andersen http://codepoet-consulting.com/
>--This message was written using 73% post-consumer electrons--
>
>
>
More information about the busybox
mailing list