#!/bin/sh

for i in $*
do
    echo 'Petting "'$i'"'
    petcom $i >0temp
    mv -f 0temp $i
done
