Re: finding locations of many files via kpse

Mike Marchywka <[email protected]>
Newsgroups gmane.comp.tex.texhax
Message-ID <BL3PR11MB633825D930A2597E5EEDF671BEDF2@BL3PR11MB6338.namprd11.prod.outlook.com>



________________________________________
From: texhax <[email protected]> on behalf of Karl Berry <[email protected]>
Sent: Thursday, July 4, 2024 6:27 PM
To: [email protected]
Cc: [email protected]
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.