cp $1 $1$$
while -r /tmp/plock
sleep 30
end
echo $s >/tmp/plock
cat filterm>>$1$$
if -r /tmp/plt_data_a then rm -f /tmp/plt_data*
endif
fastscale $2 <$1$$
echo $1>>/tmp/pltscale
fastplt | dlpr -p
rm -f $1$$
rm -f /tmp/plock 
rm -f /tmp/plt_dat*
rm -f /tmp/pltscale
