aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TABS.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/TABS.md b/TABS.md
index 46c4b585..a306a76a 100644
--- a/TABS.md
+++ b/TABS.md
@@ -4,15 +4,15 @@ Spaces to tabs
If you prefer tabs to spaces, the following recipe seems to convert everything
pretty nicely:
- $ find . -name .git -prune -o -name vim -prune -o -type f \
- -exec sh -c \
- 'for f;do unexpand -t4 "$f">"$f".tmp;mv "$f" "$f".tmp;done' \
- _ {} +
+ $ find . -name .git -prune -o -name vim -prune -o -type f \
+ -exec sh -c \
+ 'for f;do unexpand -t4 "$f">"$f".tmp;mv "$f" "$f".tmp;done' \
+ _ {} +
- $ find vim -name bundle -prune -o -type f \
- -exec sh -c \
- 'for f;do unexpand -t2 "$f">"$f".tmp;mv "$f" "$f".tmp;done' \
- _ {} +
+ $ find vim -name bundle -prune -o -type f \
+ -exec sh -c \
+ 'for f;do unexpand -t2 "$f">"$f".tmp;mv "$f" "$f".tmp;done' \
+ _ {} +
If you have GNU unexpand(1) and can add `--first-only` to each of those calls,
the results seem perfect.