shithub: riscv

ref: 1fd5f5205dd80e00b9a069567e46dd3a261ecd24
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 } '