aboutsummaryrefslogtreecommitdiff
path: root/TABS.md
diff options
context:
space:
mode:
Diffstat (limited to 'TABS.md')
-rw-r--r--TABS.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/TABS.md b/TABS.md
index 105d89d4..80c81294 100644
--- a/TABS.md
+++ b/TABS.md
@@ -6,12 +6,12 @@ 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' \
+ 'for f;do unexpand -t4 "$f">"$f".tmp;mv "$f".tmp "$f";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' \
+ 'for f;do unexpand -t2 "$f">"$f".tmp;mv "$f".tmp "$f";done' \
_ {} +
If you have GNU `unexpand(1)` and can add `--first-only` to each of those