#!/bin/rc tmp=$home/tmp/tmpnote date=`{date -i} echo name $home/notes/$date > $tmp echo get >> $tmp if(! test -e $home/notes/$date) touch $home/notes/$date cat $tmp > /mnt/acme/new/ctl catd $home/notes/* echo -n notes > /dev/label