#1148277 /usr/bin/paper: should use local-independent numeric output format

Package:
libpaper-utils
Source:
libpaper-utils
Description:
library for handling paper characteristics (utilities)
Submitter:
Ian Jackson
Date:
2026-09-18 16:05:02 UTC
Severity:
normal
Tags:
#1148277#5
Date:
2026-09-18 16:02:27 UTC
From:
To:
$ env -u LC_ALL LC_NUMERIC=nl_NL paper --unit=in a4
A4: 8,26772x11,6929 in
$

Note commas in the output.  However, the manpage says:

   The output is designed to be both human- and machine-readable.

Locale-dependent numeric formats are not machine-readable.
Non-locale-dependent ones are not ideal, but are generally readable by
humans.

(This was prompted by #1135344 against psutils, but the problem there
seems like it additionally involves an unwise setting of LC_ALL.)