[tex-live] Bug#489943: texlive-base-bin: mktexpk does not work in directories containing spaces

Vladimir Volovich vvv at vsu.ru
Wed Jul 9 00:11:37 CEST 2008


"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.


More information about the tex-live mailing list