From a58c2eca27c3739980b33ff2284e6f3edc36f58b Mon Sep 17 00:00:00 2001 From: pearcem0 Date: Tue, 21 Jun 2016 18:38:08 +0100 Subject: [PATCH] unexpand: add page (#918) --- pages/linux/unexpand.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pages/linux/unexpand.md diff --git a/pages/linux/unexpand.md b/pages/linux/unexpand.md new file mode 100644 index 0000000000..be29d3973e --- /dev/null +++ b/pages/linux/unexpand.md @@ -0,0 +1,23 @@ +# unexpand + +> Convert spaces to tabs. + +- Convert blanks in each file to tabs, writing to standard output: + +`unexpand {{file}}` + +- Convert blanks to tabs, reading from standard output: + +`unexpand` + +- Convert all blanks, instead of just initial blanks: + +`unexpand -a {{file}}` + +- Convert only leading sequences of blanks (overrides -a): + +`unexpand --first-only {{file}}` + +- Have tabs a certain number of characters apart, not 8 (enables -a): + +`unexpand -t {{number}} {{file}}`