Red Hat Bugzilla – Bug 181874
nash: fix findCommand
Last modified: 2007-11-30 17:11:24 EST
Discovered while debugging bug #181873
Argument parsing in findCommand() is a little broken. This doesn't work:
It incorrectly thinks that the lines following the command are arguments and
then barfs when it realizes they arent.
Created attachment 124809 [details]
Created attachment 124812 [details]
$> cat > /tmp/t.sh << EOF
$> nash /tmp/t.sh
(running in test mode).
Red Hat nash version starting
usage: find [-type type] [path [-name file]]
Works with patch