From 985582b80c83dc894c383b41455973a1f9e7b562 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 28 Oct 2025 20:15:37 -0300 Subject: more acme --- scripts/acme/Wikitag | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100755 scripts/acme/Wikitag (limited to 'scripts/acme/Wikitag') diff --git a/scripts/acme/Wikitag b/scripts/acme/Wikitag new file mode 100755 index 0000000..645bf1a --- /dev/null +++ b/scripts/acme/Wikitag @@ -0,0 +1,36 @@ +#!/bin/zsh + +while getopts ":l" opt; do; case $opt in + l) label=1 ;; + *) exit 1 +esac; done + +cycle=( artist track album group ) + +src=$(= length )); then + next=1 +else + (( next = place + 1 )) +fi + +printf '[[%s:%s]]' ${cycle[$next]} $value \ No newline at end of file -- cgit 1.3.0-6-gf8a5