shithub: riscv

ref: 9a7ee3a47de9b15b79d83fb3c5590acbc63114b3
dir: /rc/bin/label/

View raw version
#!/bin/rc
# label word ... - write words into our label, if any
if (test -w /dev/label)
	echo -n $* > /dev/label
if not if (test -w   /mnt/term/dev/label)
	echo -n $* > /mnt/term/dev/label