1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-26 09:35:34 +02:00
tldr/pages/linux/ptx.md

25 lines
757 B
Markdown
Raw Normal View History

2019-05-07 19:32:47 -04:00
# ptx
> Generate a permuted index of words from text files.
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/ptx-invocation.html>.
2019-05-07 19:32:47 -04:00
- Generate a permuted index where the first field of each line is an index reference:
`ptx {{[-r|--references]}} {{path/to/file}}`
2019-05-07 19:32:47 -04:00
- Generate a permuted index with automatically generated index references:
`ptx {{[-A|--auto-reference]}} {{path/to/file}}`
2019-05-07 19:32:47 -04:00
- Generate a permuted index with a fixed width:
`ptx {{[-w|--width]}} {{width_in_columns}} {{path/to/file}}`
2019-05-07 19:32:47 -04:00
- Generate a permuted index with a list of filtered words:
`ptx {{[-o|--only-file]}} {{path/to/filter}} {{path/to/file}}`
2019-05-07 19:32:47 -04:00
- Generate a permuted index with SYSV-style behaviors:
`ptx {{[-G|--traditional]}} {{path/to/file}}`