bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

x-to-1


From: Reuben Thomas
Subject: x-to-1
Date: Tue, 7 Feb 2023 22:51:09 +0000

I just found this handy script while puzzling over various problems with help2man. In particular, it tests for cross-compilation, and copes with help2man missing.

There are a couple of minor nits compared with direct usage of help2man, however:

1. Before, I passed --locale=en_US.UTF-8 so I could use non-ASCII characters in my man pages directly. The --version output of recode mentions the original author's name, François Pinard. I guess I can get around that with a manual AUTHOR section that uses a \*['] sequence, but that seems a shame.

2. Similarly, I passed a --name option, which avoids having to repeat the name of the program in a .x file's NAME section.

In general, then, it would be good if x-to-1 ignored unknown options and passed them to help2man; would that be possible?

It would be good to document that x-to-1 needs CROSS_COMPILING and PERL set up by configure.ac. Or perhaps it's worth a gnulib module?

--
https://rrt.sc3d.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]