hush: fix bug 207 and "hush -c" parameter passing.
authorDenis Vlasenko <vda.linux@googlemail.com>
Fri, 20 Mar 2009 12:05:14 +0000 (12:05 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Fri, 20 Mar 2009 12:05:14 +0000 (12:05 -0000)
commita8b6dff97f353c41e208e7e567f100a6c7af4605
tree6a6722ac176e2f04261bf29202e87767c3d9349e
parent5368ad53e91ee056316389b5006b7eb0df2f2d11
hush: fix bug 207 and "hush -c" parameter passing.
 Now hush -c 'printf "%s\n" "$@"' (prints "\n")
 and hush -c 'printf "%s\n" "$@"' qwe asd (prints "asd\n")
 both work correctly
shell/hush.c
shell/hush_test/hush-parsing/starquoted2.right
shell/hush_test/hush-parsing/starquoted2.tests