aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2022-03-31 16:17:18 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2022-03-31 16:17:18 +0200
commitc220c4ebac769dde542e0523248a352d89f639b3 (patch)
tree0201f6a1478bdae0b9803a54ea1454b31df2f257
parentf7cd30c1ea13dad0e73069de16c6a5097d0c689b (diff)
downloadacme-scripts-c220c4ebac769dde542e0523248a352d89f639b3.tar.gz
acme-scripts-c220c4ebac769dde542e0523248a352d89f639b3.zip
Add ftag.sh
-rwxr-xr-xftag.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/ftag.sh b/ftag.sh
new file mode 100755
index 0000000..2c5d11c
--- /dev/null
+++ b/ftag.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+TAGS="ftag Get |s |c+ |c- >findt >finde >findc >searchc >import |package |property <sver gbranch |upper |lower |latin |i+ |i-"
+MARGIN="//MARGINE |"
+
+# Clear the tag before adding the new ones
+echo cleartag | 9p write acme/$winid/ctl
+
+printf "\n$TAGS\nEdit\n$MARGIN" | 9p write acme/$winid/tag