From cba222e0577f6551f6df97202083ac76dc625295 Mon Sep 17 00:00:00 2001 From: pearcem0 Date: Tue, 21 Jun 2016 18:38:36 +0100 Subject: [PATCH] expand: add page (#917) --- pages/linux/expand.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pages/linux/expand.md diff --git a/pages/linux/expand.md b/pages/linux/expand.md new file mode 100644 index 000000000..8df743828 --- /dev/null +++ b/pages/linux/expand.md @@ -0,0 +1,23 @@ +# expand + +> Convert tabs to spaces. + +- Convert tabs in each file to spaces, writing to standard output: + +`expand {{file}}` + +- Convert tabs to spaces, reading from standard input: + +`expand` + +- Do not convert tabs after non blanks: + +`expand -i {{file}}` + +- Have tabs a certain number of characters apart, not 8: + +`expand -t={{number}} {{file}}` + +- Use comma separated list of explicit tab positions: + +`expand -t={{list}}`