]> git.ipfire.org Git - thirdparty/coreutils.git/commit
ptx: implement -t to change default width to 100
authorPádraig Brady <P@draigBrady.com>
Mon, 5 Jan 2026 21:56:38 +0000 (21:56 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 5 Jan 2026 23:37:49 +0000 (23:37 +0000)
commit7531d3a205346e3ef9d249194d44a7dcd1da6142
treea73bb9570281cdcbdafb2e7eea79ea9975541c18
parente1994cd9ac835d3cb8e7224aa7e3bf8ef1469699
ptx: implement -t to change default width to 100

Align the -t implementation with the Heirloom project.

* src/ptx.c (usage): Describe -t, and also mention
the default width is 72 when not used.
* doc/coreutils.texi (ptx invocation): Likewise.
(main): Override the default width if -t is specified.
* tests/ptx/ptx.pl: Add test cases.
* NEWS: Mention the change in behavior.
NEWS
doc/coreutils.texi
src/ptx.c
tests/ptx/ptx.pl