aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-02-24 11:37:51 +0100
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-02-24 11:37:51 +0100
commitcc9f03d891a2195e7628a360e51056e9c2676af2 (patch)
tree5f68ce98100c1216c125d5aff83e9b2b05bac7a3
parentd695f7fe774d781e3bcfd8bf94da1817bd063723 (diff)
downloadacme-scripts-cc9f03d891a2195e7628a360e51056e9c2676af2.tar.gz
acme-scripts-cc9f03d891a2195e7628a360e51056e9c2676af2.zip
Add tag file
-rwxr-xr-xtag10
1 files changed, 10 insertions, 0 deletions
diff --git a/tag b/tag
new file mode 100755
index 0000000..0899f0c
--- /dev/null
+++ b/tag
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+CMD=`echo $0 | sed 's/.*\///g'`
+
+TAG="$CMD"
+
+# Clear the tag before adding the new one
+echo cleartag | 9p write acme/$winid/ctl
+
+printf "\n$TAG\nEdit" | 9p write acme/$winid/tag