[Bug 13511] New: ash: broken spacing on positional parameters

bugzilla at busybox.net bugzilla at busybox.net
Sun Jan 31 22:28:42 UTC 2021


https://bugs.busybox.net/show_bug.cgi?id=13511

            Bug ID: 13511
           Summary: ash: broken spacing on positional parameters
           Product: Busybox
           Version: 1.32.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: negan07 at outlook.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Created attachment 8741
  --> https://bugs.busybox.net/attachment.cgi?id=8741&action=edit
related build .config

Notice scripts execution failures after upgrading busybox from 1.31 to 1.32 on
an armv7a router device

e.g. running "try.sh" as example:

#!/bin/sh
# write what u want as params...

func() {
echo '$#': $#
echo '$*': $*
echo \"'$@'\": \"$@\"
}

echo '$#': $#
echo '$*': $*
echo \"'$@'\": \"$@\"

func "$@"

exit $?


invoking above:
./try.sh one two three four five

obtaining:
$#: 5
$*: onetwothreefourfive
"$@": "onetwothreefourfive"
$#: 1
$*: onetwothreefourfive
"$@": "onetwothreefourfive"

busybox 1.30.1 --> above working
busybox 1.31.1 --> above working
busybox 1.32.0 --> above NOT working
busybox 1.32.1 --> above NOT working

removed all external code patches

.config attached

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list