shithub: riscv

ref: 99e2d549e86cbdf4c364a476b8eb008c8fcff6ec
dir: /rc/bin/delkey/

View raw version
#!/bin/rc

rfork e

ctl = /mnt/factotum/ctl

sed 's/ ![0-9a-zA-Z_]+\??/ /g; s/''/''''/g; s/ +$//' $ctl | \
	awk -v 'ctl='^$ctl ' { printf "echo ''del%s'' > %s\n", $0, ctl } '