]> git.ipfire.org Git - thirdparty/coreutils.git/commit
doc: printf: make "java" encoding example more standard
authorPádraig Brady <P@draigBrady.com>
Fri, 28 Oct 2022 13:40:28 +0000 (14:40 +0100)
committerPádraig Brady <P@draigBrady.com>
Fri, 28 Oct 2022 13:51:56 +0000 (14:51 +0100)
commit994c83e2e3675a67b21fac36fc24395da3e09476
tree0190cd71614fb21644450b1ae87634d4857caded
parent90817ff295d1fa8fa1811c7f09a83d1dba05e500
doc: printf: make "java" encoding example more standard

Note using iconv(1) rather than recode(1) is not appropriate
for this example, as the required functionality is only
available on libiconv's iconv implementation, which is
not installed on most systems.

* doc/coreutils.texi (printf invocation): Use env rather than
/usr/local/bin for the printf command.  Escape '%' so more robust.
Also use a locale that exists on modern systems.
doc/coreutils.texi