> My guess is that the parser has terminated the first '$(' on the > case label 'base)' while trying to skip the unwanted case clause. > > Quite possibly it would all work if the $(...) were replaced by `...` > (the nested one just needs a couple of \).
Hmm. Is my version incompatible to POSIX? Or do we go to "write really portable shell script" load like Autoconf, not POSIX shell? [1] Masao [1] http://www.gnu.org/software/hello/manual/autoconf/Portable-Shell.html -- Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635