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

fmt

v(uutils coreutils) 0.8.0
[OPCIÓN]... [ARCHIVO]...

Reformatear párrafos de entrada (o entrada estándar) a stdout.

Options

--crown-margin, -c

fmt-crown-margin-help

--tagged-paragraph, -t

fmt-tagged-paragraph-help

--preserve-headers, -m

fmt-preserve-headers-help

--split-only, -s

fmt-split-only-help

--uniform-spacing, -u

fmt-uniform-spacing-help

--prefix=<PREFIX>, -p <PREFIX>

fmt-prefix-help

--skip-prefix=<PSKIP>, -P <PSKIP>

fmt-skip-prefix-help

--exact-prefix, -x

fmt-exact-prefix-help

--exact-skip-prefix, -X

fmt-exact-skip-prefix-help

--width=<WIDTH>, -w <WIDTH>

fmt-width-help

--goal=<GOAL>, -g <GOAL>

fmt-goal-help

--quick, -q

fmt-quick-help

--tab-width=<TABWIDTH>, -T <TABWIDTH>

fmt-tab-width-help

Examples

Reformatea un archivo:

fmt {{ruta/al/archivo}}

Reformatea un archivo produciendo líneas de salida de (como máximo) n caracteres:

fmt {{[-w|--width]}} {{n}} {{ruta/al/archivo}}

Reformatea un archivo sin unir las líneas más cortas respecto al ancho dado:

fmt {{[-s|--split-only]}} {{ruta/al/archivo}}

Reformatea un archivo con espaciado uniforme (1 espacio entre palabras y 2 espacios entre párrafos):

fmt {{[-u|--uniform-spacing]}} {{ruta/al/archivo}}

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.