expand
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
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.