summaryrefslogtreecommitdiff
path: root/bin/vimki
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2024-09-05 10:52:55 +0200
committerMarc Vertes <mvertes@free.fr>2024-09-05 10:52:55 +0200
commit1a39764f0f985e9894d442ce642187412da5e90f (patch)
tree7f365ac3f7b8ff44c33dc77f97fe99df35cba471 /bin/vimki
parent8f67428c2bf697acd66b93f93ae5f9c134077229 (diff)
add sockspy
Diffstat (limited to 'bin/vimki')
-rwxr-xr-xbin/vimki6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/vimki b/bin/vimki
index e3e0f4d..a6051f7 100755
--- a/bin/vimki
+++ b/bin/vimki
@@ -1,8 +1,8 @@
#!/bin/sh
-# Batch operations on vimki
+# Batch operations on vimki.
-# rename changes the link name and propagates the change in the wiki
+# rename changes the link name and propagates the change in the wiki.
rename1() {
[ "$(head -c 8 "$3")" = VimCrypt ] && return
gawk -v old="$1" -v new="$2" -v IGNORECASE=1 '
@@ -52,5 +52,7 @@ fixfiles() {
done
}
+# fixlinks generates explicit markdown targets for vimki links.
+
cd ~/Wiki || exit
"$@"