Bug#489943: [tex-live] Bug#489943: texlive-base-bin: mktexpk does not work in directories containing spaces
"NP" == Norbert Preining writes:
>> So my patch additionally includes a replacement of those two
>> statements with ${var##pattern} and ${var%pattern} expansions. These
>> expansions are POSIX and should thus be reasonably portable.
note that on Solaris, /bin/sh is not a POSIX shell (there is a POSIX
shell at /usr/xpg4/bin/sh).
$ ZZZ=/aa/bb/cc/dd
$ echo ${ZZZ%/*}
bad substitution
$ echo ${ZZZ##*/}
bad substitution
Best,
v.
Reply to: