Bug 199 - hush does not handle `set -- ...`
Summary: hush does not handle `set -- ...`
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Standard Compliance (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 enhancement
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-19 05:41 UTC by Mike Frysinger
Modified: 2009-03-20 10:38 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Frysinger 2009-03-19 05:41:46 UTC
simple test:
$ set -- a b c
$ echo $1

correct behavior is to see "a" ... hush however does not reset the positional arguments as expected ({1,2,3} -> {a,b,c})
Comment 1 Denys Vlasenko 2009-03-20 10:16:11 UTC
Please try this patch:

http://busybox.net/downloads/fixes-1.13.3/busybox-1.13.3-hush.patch
Comment 2 Mike Frysinger 2009-03-20 10:38:50 UTC
seems to work for me, thanks !