finding locations of many files via kpse
Mike Marchywka
marchywka at hotmail.com
Fri Jul 5 12:17:06 CEST 2024
________________________________________
From: texhax <texhax-bounces+marchywka=hotmail.com at tug.org> on behalf of Karl Berry <karl at freefriends.org>
Sent: Thursday, July 4, 2024 6:27 PM
To: marchywka at hotmail.com
Cc: texhax at tug.org
Subject: Re: finding locations of many files via kpse
If the kpse utils could export a path in the normal linux
PATH syntax
kpsewhich -expand-path="`kpsewhich -show-path=tex`" >/tmp/k
The result has some 8880 directories and is ~500K on my system. -k
So what does kpsewhich do to speed up the search that
can't be done in "which"? If you are looking for a lot of things
you can compile these things once. The file system stuff could
get slow even with good caching etc.
More information about the texhax
mailing list.