[tex-live] kpsewhich

Nelson H. F. Beebe beebe at math.utah.edu
Fri Mar 26 17:17:23 CET 2004

I agree with Hans Hagen's sentiments: -expand-var should be followed
by a variable name, not the backslash and quote-protected expansion
thereof that is awkward to type, and nonportable between Unix and
Windows.  The program can easily invoke getenv() to get the value of
the named variable.  I too would therefore like to see

	kpsewhich -expand-var SELFAUTOPARENT

For the book that I'm co-authoring, we developed a script that works
like this:

	% pathfind PATH gcc

	% pathfind --all PATH gcc

	% pathfind TEXFONTS cmr10.tfm cmman.pfb

Using the name of the variable, rather than its value, is much

- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe at math.utah.edu  -
- 155 S 1400 E RM 233                       beebe at acm.org  beebe at computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -

More information about the tex-live mailing list