ash syntax error in nested case ... esac

Alexander Kriegisch Alexander at Kriegisch.name
Sun Oct 7 09:01:36 PDT 2007


Thanks, Paul. How could I not have seen this? I guess that is a frequent
problem when copying and pasting code from an external source.

Denys or whoever is responsible for the web site, would you please
correct the sample script for the getopt applet on the "Command Help"
page? http://busybox.net/downloads/BusyBox.html
--
Alexander Kriegisch

Paul Fox:
> the problem is in your echo statements.  see below.
> (...)
> > 		-b|--b-long) echo "Option b, argument `$2'" ; shift 2 ;;
> ------------------------------------------------------^
> the ` character starts a shell inline expansion.  change it to '



More information about the busybox mailing list