Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

ptx

Some strings on this page have not been translated yet. You can help by translating them on Weblate.
v(uutils coreutils) 0.8.0
ptx [OPCIÓN]... [ENTRADA]...
ptx -G [OPCIÓN]... [ENTRADA [SALIDA]]

Producir un índice permutado del contenido del archivo Generar un índice permutado, incluyendo contexto, de las palabras en los archivos de entrada. Los argumentos obligatorios para opciones largas son obligatorios también para opciones cortas. Sin ARCHIVO, o cuando ARCHIVO es -, leer entrada estándar. El predeterminado es ‘-F /’.

Options

--auto-reference, -A

generar referencias automáticamente

--traditional, -G

comportarse más como ‘ptx’ de System V

--flag-truncation=<STRING>, -F <STRING>

usar CADENA para marcar truncamientos de línea

--macro-name=<STRING>, -M <STRING>

nombre de macro a usar en lugar de ‘xx’

--format
-O

generar salida como directivas roff

-T

generar salida como directivas TeX

--right-side-refs, -R

poner referencias a la derecha, no contadas en -w

--sentence-regexp=<REGEXP>, -S <REGEXP>

para final de líneas o final de oraciones

--word-regexp=<REGEXP>, -W <REGEXP>

usar REGEXP para coincidir con cada palabra clave

--break-file=<FILE>, -b <FILE>

caracteres de corte de palabra en este ARCHIVO

--ignore-case, -f

doblar minúsculas a mayúsculas para ordenar

--gap-size=<NUMBER>, -g <NUMBER>

tamaño de espacio en columnas entre campos de salida

--ignore-file=<FILE>, -i <FILE>

leer lista de palabras a ignorar de ARCHIVO

--only-file=<FILE>, -o <FILE>

leer solo lista de palabras de este ARCHIVO

--references=<FILE>, -r <FILE>

el primer campo de cada línea es una referencia

--typeset-mode, -t

change the default width from 72 to 100

--width=<NUMBER>, -w <NUMBER>

ancho de salida en columnas, referencia excluida

Examples

The examples have not been translated yet and are shown in English. You can help by translating them on tldr-pages.

Generate a permuted index where the first field of each line is an index reference:

ptx {{[-r|--references]}} {{path/to/file}}

Generate a permuted index with automatically generated index references:

ptx {{[-A|--auto-reference]}} {{path/to/file}}

Generate a permuted index with a fixed width:

ptx {{[-w|--width]}} {{width_in_columns}} {{path/to/file}}

Generate a permuted index with a list of filtered words:

ptx {{[-o|--only-file]}} {{path/to/filter}} {{path/to/file}}

Generate a permuted index with SYSV-style behaviors:

ptx {{[-G|--traditional]}} {{path/to/file}}

The examples are provided by the tldr-pages project under the CC BY 4.0 License.

Please note that, as uutils is a work in progress, some examples might fail.