karl at freefriends.org
Sat Mar 27 13:41:18 CET 2004
Interpreting command-line args
How about an option to take args from a file (or stdin)? That is,
kpsewhich --file=foo would read foo and interpret it as more arguments.
Then the perl/ruby/whatever script can write foo (in its
system-independent way) and call kpsewhich (in this
acceptable-to-all-systems simple way).
If there's no quoting mechanism that works on both Windows and Unix,
there's no way to use any special characters on any command line (if you
want to write a script that runs on both without change).
More information about the tex-live