for f in L_*.ps; do
  gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -dEPSCrop \
     -sOutputFile="${f%.ps}.pdf" "$f"
done
