#!/bin/rc switch($#*){ case 0 echo 'usage: sendurl ' >[1=2] case 1 hget `{echo $1 | prowl -e 'URL from Plan 9' -u $1} > /dev/null case * for (i in $*) sendurl $i }