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

expand

v(uutils coreutils) 0.8.0
expand [OPTION]... [FICHIER]...

Convertir les tabulations de chaque FICHIER en espaces, en écrivant vers la sortie standard. Sans FICHIER, ou quand FICHIER est -, lire l’entrée standard.

Options

--initial, -i

ne pas convertir les tabulations après les caractères non-blancs

--tabs=<N, LIST>, -t <N, LIST>

avoir des tabulations espacées de N caractères, pas 8 ou utiliser une liste séparée par des virgules de positions de tabulation explicites

--no-utf8, -U

interpréter le fichier d’entrée comme ASCII 8 bits plutôt que UTF-8

Examples

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

Convert tabs in each file to spaces, writing to stdout:

expand {{path/to/file}}

Convert tabs to spaces, reading from stdin:

expand

Do not convert tabs after non blanks:

expand {{[-i|--initial]}} {{path/to/file}}

Have tabs a certain number of characters apart, not 8:

expand {{[-t|--tabs]}} {{number}} {{path/to/file}}

Use a comma separated list of explicit tab positions:

expand {{[-t|--tabs]}} {{1,4,6}}

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.