|
NAME | SYNOPSIS | DESCRIPTION | AUTHOR | REPORTING BUGS | COPYRIGHT | SEE ALSO | COLOPHON |
|
|
|
PTX(1) User Commands PTX(1)
ptx - produce a permuted index of file contents
ptx [OPTION]... [INPUT]... (without -G)
ptx -G [OPTION]... [INPUT [OUTPUT]]
Output a permuted index, including context, of the words in the
input files.
With no FILE, or when FILE is -, read standard input.
Mandatory arguments to long options are mandatory for short
options too.
]8;;https://www.gnu.org/software/coreutils/manual/coreutils.html#ptx-A\-A, --auto-reference]8;;\
output automatically generated references
]8;;https://www.gnu.org/software/coreutils/manual/coreutils.html#ptx-G\-G, --traditional]8;;\
behave more like System V 'ptx'
]8;;https://www.gnu.org/software/coreutils/manual/coreutils.html#ptx-F\-F, --flag-truncation=STRING]8;;\
use STRING for flagging line truncations. The default is
'/'
]8;;https://www.gnu.org/software/coreutils/manual/coreutils.html#ptx-M\-M, --macro-name=STRING]8;;\
macro name to use instead of 'xx'
]8;;https://www.gnu.org/software/coreutils/manual/coreutils.html#ptx-O\-O, --format=roff]8;;\
generate output as roff directives
]8;;https://www.gnu.org/software/coreutils/manual/coreutils.html#ptx-R\-R, --right-side-refs]8;;\
put references at right, not counted in -w
]8;;https://www.gnu.org/software/coreutils/manual/coreutils.html#ptx-S\-S, --sentence-regexp=REGEXP]8;;\
for end of lines or end of sentences
]8;;https://www.gnu.org/software/coreutils/manual/coreutils.html#ptx-T\-T, --format=tex]8;;\
generate output as TeX directives
]8;;https://www.gnu.org/software/coreutils/manual/coreutils.html#ptx-W\-W, --word-regexp=REGEXP]8;;\
use REGEXP to match each keyword
]8;;https://www.gnu.org/software/coreutils/manual/coreutils.html#ptx-b\-b, --break-file=FILE]8;;\
word break characters in this FILE
]8;;https://www.gnu.org/software/coreutils/manual/coreutils.html#ptx-f\-f, --ignore-case]8;;\
fold lower case to upper case for sorting
]8;;https://www.gnu.org/software/coreutils/manual/coreutils.html#ptx-g\-g, --gap-size=NUMBER]8;;\
gap size in columns between output fields
]8;;https://www.gnu.org/software/coreutils/manual/coreutils.html#ptx-i\-i, --ignore-file=FILE]8;;\
read ignore word list from FILE
]8;;https://www.gnu.org/software/coreutils/manual/coreutils.html#ptx-o\-o, --only-file=FILE]8;;\
read only word list from this FILE
]8;;https://www.gnu.org/software/coreutils/manual/coreutils.html#ptx-r\-r, --references]8;;\
first field of each line is a reference
]8;;https://www.gnu.org/software/coreutils/manual/coreutils.html#ptx-t\-t, --typeset-mode]8;;\
change the default width from 72 to 100
]8;;https://www.gnu.org/software/coreutils/manual/coreutils.html#ptx-w\-w, --width=NUMBER]8;;\
output width in columns, reference excluded
]8;;https://www.gnu.org/software/coreutils/ptx#ptx--help\--help]8;;\ display this help and exit
]8;;https://www.gnu.org/software/coreutils/ptx#ptx--version\--version]8;;\
output version information and exit
Written by F. Pinard.
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/>
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.
Full documentation <https://www.gnu.org/software/coreutils/ptx>
or available locally via: info '(coreutils) ptx invocation'
This page is part of the coreutils (basic file, shell and text
manipulation utilities) project. Information about the project
can be found at ⟨http://www.gnu.org/software/coreutils/⟩. If you
have a bug report for this manual page, see
⟨http://www.gnu.org/software/coreutils/⟩. This page was obtained
from the tarball coreutils-9.11.tar.xz fetched from
⟨http://ftp.gnu.org/gnu/coreutils/⟩ on 2026-05-24. If you
discover any rendering problems in this HTML version of the page,
or you believe there is a better or more up-to-date source for the
page, or you have corrections or improvements to the information
in this COLOPHON (which is not part of the original manual page),
send a mail to man-pages@man7.org
GNU coreutils 9.11 April 2026 PTX(1)