#!/bin/rc -e rfork ne path=/bin fn fatal { echo $* exit $"* } 9fs sources || fatal mount server failed for(i){ f=`{basename $i} fcp $i /tmp/$f.$pid cat /tmp/$f.$pid rm -f /tmp/$f.$pid } exit ''