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.


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

Command Line Options:

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