Linux "ptx" Command Line Options and Examples
produce a permuted index of file contents

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.


Usage:

ptx [OPTION]... [INPUT]...  (without -G)
    ptx -G [OPTION]... [INPUT [OUTPUT]]




Command Line Options:

-A
output automatically generated references
ptx -A ...
-G
behave more like System V 'ptx'
ptx -G ...
-F
use STRING for flagging line truncations. The default is '/'
ptx -F ...
-M
macro name to use instead of 'xx'
ptx -M ...
-O
generate output as roff directives
ptx -O ...
-R
put references at right, not counted in -w
ptx -R ...
-S
for end of lines or end of sentences
ptx -S ...
-T
generate output as TeX directives
ptx -T ...
-W
use REGEXP to match each keyword
ptx -W ...
-b
word break characters in this FILE
ptx -b ...
-f
fold lower case to upper case for sorting
ptx -f ...
-g
gap size in columns between output fields
ptx -g ...
-i
read ignore word list from FILE
ptx -i ...
-o
read only word list from this FILE
ptx -o ...
-r
first field of each line is a reference
ptx -r ...
-t
--typeset-mode - not implemented -
ptx -t ...
-w
output width in columns, reference excluded
ptx -w ...
--help
display this help and exit
ptx --help ...
--version
output version information and exitAUTHORWritten by F. Pinard.REPORTING BUGSGNU coreutils online help: <http://www.gnu.org/software/coreutils/>Report ptx translation bugs to <http://translationproject.org/team/>COPYRIGHTCopyright © 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later<http://gnu.org/licenses/gpl.html>.This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent per‐mitted by law.
ptx --version ...