Re: finding locations of many files via kpse

Erik Nijenhuis <[email protected]>
Newsgroups gmane.comp.tex.texhax
Message-ID <[email protected]>
Hi Norbert,

On Mon, 2024-08-05 at 23:00 +0900, Norbert Preining wrote:
> Too much overhead since it has only one option and parsing is easy ;-)
Ah, I thought you also wanted to include the optional program name, but I agree
that the parsing in this case is child's play.

However, for those managing it manually, numerous inconsistencies in CLIs have
arisen. For example, in GNU's getopt library, long options are always preceded
by two dashes. Providing a long option with a single dash, such as -mark, would
be interpreted as four short options: -m, -a, -r, and -k. Additionally, there
are many inconsistencies in how values are provided for options.

My hope is that lua-alt-getopt is somewhat aligned with other CLIs within TeX
Live, but I'm guessing this script is for internal use.

I'll have to admit that I'm a great fan of GNU's getopt semantics. However, from
a historical standpoint, the alternative getopt library within TeX Live should
be favored instead, since that is what a TeX user would be expecting.

Best, Erik
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.