shithub: riscv

ref: 8a4a2dea70aa77475a50968f4c5bd6cdab5d2fb1
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