PTX(1)
๐ PTX(1) โ the permuted index girly โจ
okay so bestie, we're in the User Commands section of the manual, and this one is literally called ptx ๐ she makes a permuted index of file contents. no cap.
๐ธ NAME ๐ธ
ptx โ produce a permuted index of file contents
โจ SYNOPSIS โจ
ptx [OPTION]... [INPUT]... (without -G)
ptx -G [OPTION]... [INPUT [OUTPUT]]
๐ฆ DESCRIPTION ๐ฆ
Output a permuted index, including context, of the words in the input files. it's giving index energy, it's giving context ๐
With no FILE, or when FILE is -, read standard input. yes bestie, - means stdin, classic.
Mandatory arguments to long options are mandatory for short options too. iykyk ๐ซถ
-A,--auto-referenceโ output automatically generated references-G,--traditionalโ behave more like System Vptx-F,--flag-truncation=STRINGโ use STRING for flagging line truncations. the default is/-M,--macro-name=STRINGโ macro name to use instead ofxx-O,--format=roffโ generate output as roff directives-R,--right-side-refsโ put references at right, not counted in-w-S,--sentence-regexp=REGEXPโ for end of lines or end of sentences-T,--format=texโ generate output as TeX directives-W,--word-regexp=REGEXPโ use REGEXP to match each keyword-b,--break-file=FILEโ word break characters in this FILE-f,--ignore-caseโ fold lower case to upper case for sorting-g,--gap-size=NUMBERโ gap size in columns between output fields-i,--ignore-file=FILEโ read ignore word list from FILE-o,--only-file=FILEโ read only word list from this FILE-r,--referencesโ first field of each line is a reference-t,--typeset-modeโ change the default width from72to100-w,--width=NUMBERโ output width in columns, reference excluded--helpโ display this help and exit--versionโ output version information and exit
๐ AUTHOR ๐
Written by F. Pinard. periodt. ๐
๐ REPORTING BUGS ๐
Report bugs to: <bug-coreutils@gnu.org>. Report any translation bugs to: <https://translationproject.org/team/>. GNU coreutils home page: <https://www.gnu.org/software/coreutils/> General help using GNU software: <https://www.gnu.org/gethelp/>
like, if something's broken, tell the coreutils girlies, they'll handle it ๐
๐ COPYRIGHT ๐
Copyright ยฉ 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
There is NO WARRANTY โ bestie i need you to read that part twice. no warranty, fr fr. ๐ญ
๐ SEE ALSO ๐
Full documentation <https://www.gnu.org/software/coreutils/ptx> or available locally via: info '(coreutils) ptx invocation'
and that's the whole vibe check, bestie ๐ this was GNU coreutils 9.12, dated September 2026 โ iconic, no notes, slay ๐ฆโจ
๐ฆ where this page comes from
- arch rolling: coreutils 9.12-2 ยท GPL-3.0-or-later AND GFDL-1.3-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms