plan9fox/rc/bin/label
2011-03-30 18:29:07 +00:00

7 lines
189 B
Bash
Executable file

#!/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