This program is commonly installed as both `makeinfo' and `texi2any'; the
     behavior is identical, and does not depend on the installed name.

This is not true, the generated info file will start with a line
that reads like this:

This is texinfo.info, produced by texi2any version 7.1 from
texinfo.texi.

where "texi2any" is set by
    'PROGRAM' => $real_command_name,

around line 346 of texi2any.pl

This can occasionally be a problem for writing file format recognizers
that depend on parsing the first few lines of a given file


Indeed, this difference is recognized as an issue in the test conf
for texi2any.pl, around line 1376, which hardcodes it as texi2any.

There are several possible fixes, at the very least the manpage
could be fixed to acknowledge that the generator will end up in the
generated file...

or the program proper should always be set to a fixed string (like texi2any)
making it easier to recognize the format.


-- 
        Marc

Reply via email to