[BusyBox] bug#1283: lash argument numbers are shifted
Dan Fandrich
dfandrich at intrinsyc.com
Tue Nov 5 15:21:03 UTC 2002
Package: busybox
Version: 0.60.5
Executing the following program 'args':
#!./lash
echo 0:$1 1:$1 2:$2 3:$3
like this:
./args a b c
in a directory containing a symbolic link lash -> busybox, results in the
output:
0:./lash 1:./args 2:a 3:b
Arguments numbers >= 1 are one higher than they should be. Replacing the
first line of the script with #!./ash or #!/bin/bash results in the
expected output:
0:./args 1:a 2:b 3:c
>>> Dan
More information about the busybox
mailing list