PTX(1)
β¨ PTX(1) β¨
okay so bestie, this is ptx, and it hangs out in the User Commands section of the manual (that's the 1 in the (1), iykyk π
). It's giving very much "let me alphabetize your whole vibe."
π NAME π
ptx β produce a permuted index of file contents. that's the whole job. she does one thing and she devours. π
π¦ SYNOPSIS π¦
ptx [OPTION]... [INPUT]... (without -G)
ptx -G [OPTION]... [INPUT [OUTPUT]]
πΈ DESCRIPTION πΈ
So what she actually does: output a permuted index, including context, of the words in the input files. Every word gets its moment, with its little context bubble around it. main character treatment for each one, fr fr. π
With no FILE, or when FILE is -, read standard input. (Yes king, - means "I'm piping it in", the classic move. π«Ά)
Mandatory arguments to long options are mandatory for short options too. Like, non-negotiable. the argument is coming with you whether you like it or not. π
π the options, one by one, no skipping π
-A,--auto-referenceβ output automatically generated references. she'll make the refs for you, no cap. β-G,--traditionalβ behave more like System Vptx. old-school energy, vintage behavior, throwback era π-F,--flag-truncation=STRINGβ useSTRINGfor flagging line truncations. The default is/. so if you don't pick aSTRING,/is what you get, okay? π-M,--macro-name=STRINGβ macro name to use instead ofxx. becausexxwas just the placeholder bestie, you can rename her. π¦-O,--format=roffβ generate output as roff directives. roff girlies rise up. π₯-R,--right-side-refsβ put references at right, not counted in-w. right side, and she's not getting counted in-weither, sneaky but valid. π-S,--sentence-regexp=REGEXPβ for end of lines or end of sentences. hand her aREGEXPand she'll know where the sentences end. periodt. π-T,--format=texβ generate output as TeX directives. TeX stans, this one's for you. π-W,--word-regexp=REGEXPβ useREGEXPto match each keyword. your regex, your rules. β¨-b,--break-file=FILEβ word break characters in thisFILE. tell her which characters break a word, viaFILE. π§-f,--ignore-caseβ fold lower case to upper case for sorting. so she doesn't get weird about capitalization, iconic behavior honestly. π-g,--gap-size=NUMBERβ gap size in columns between output fields. how much personal space the columns get. πΈ-i,--ignore-file=FILEβ read ignore word list fromFILE. words in here? skipped. not invited. bye. π-o,--only-file=FILEβ read only word list from thisFILE. opposite vibe: only these words make the cut. π-r,--referencesβ first field of each line is a reference. first field, reference, that's the deal. π-t,--typeset-modeβ change the default width from 72 to 100. so like, 72 normally, but 100 in this mode. glow up. β-w,--width=NUMBERβ output width in columns, reference excluded. and reminder: the reference is NOT counted in this. π--helpβ display this help and exit. the "help me bestie" button. π«Ά--versionβ output version information and exit. the "who even are you" button. π
π AUTHOR π
Written by F. Pinard. (the original girlie who built the vibes. we stan. π)
π REPORTING BUGS π
- Report bugs to:
bug-coreutils@gnu.org - GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
- General help using GNU software: <https://www.gnu.org/gethelp/>
- Report any translation bugs to <https://translationproject.org/team/>
if something's broken, tell them, don't just suffer in silence bestie π
π₯ SEE ALSO π₯
- Full documentation <https://www.gnu.org/software/coreutils/ptx>
- or available locally via:
info '(coreutils) ptx invocation'
Packaged by Ubuntu (9.10-1ubuntu2) 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.
and that's the whole page, bestie β this one's GNU coreutils 9.10, dated August 2026, and it's PTX(1) in the User Commands section. go permute something. slay. π
β¨ππ
π¦ where this page comes from
- ubuntu stonking: gnu-coreutils 9.10-1ubuntu2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms