aboutsummaryrefslogtreecommitdiff
path: root/tag.sh
blob: 7b53e1c7f6169c0953c60053a4231bfb38e664f1 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

CMD=`echo $0 | sed 's/.*\///g'`

TAG="Get $CMD |latin"

# Clear the tag before adding the new one
echo cleartag | 9p write acme/$winid/ctl

printf "\n$TAG\nEdit" | 9p write acme/$winid/tag