#! /bin/csh

if( -f fmbatch.dat) rm fmbatch.dat
mkdir -p ps

foreach x (`find . -name \*.book -o -name releaseNotes\*.doc`)
	echo "Open $x" >> fmbatch.dat
	echo "Print $x" >> fmbatch.dat
	end

fmbatch fmbatch.dat
rm fmbatch.dat
mv *.ps ps
