#!/bin/sh # on enlève l’extension du 1er argument FILE=${1%.*} TMPFILE=pstemp # création d’un fichier temporaire psttemp.tex cat > $TMPFILE.tex <