aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-05-09 20:16:33 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-05-09 20:16:33 +1200
commit993b38a9fbf270f31f7dd453dc090e79940a2ed5 (patch)
tree4f035d1827f407c57777bdce3c9476d3be605b0a
parentUpdate squeeze_repeat_blanks.vim to v0.6.1 (diff)
downloaddotfiles-993b38a9fbf270f31f7dd453dc090e79940a2ed5.tar.gz
dotfiles-993b38a9fbf270f31f7dd453dc090e79940a2ed5.zip
Correct transposed filenames in TABS.md example
-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