Angus Leeming wrote:

> In a shell script 
> (lyxpreview2ppm_new.sh actually, so not /totally/ off topic ;-)
> 
> BAIL_OUT () {
>       # Remove everything except the original .tex file.
>       FILES=`ls ${BASE}* | sed -e "/${BASE}.tex/d"`
>       rm -f ${FILES}
>       exit 1
> }
> 
> Is there a more elegant way to invoke rm and remove these files?


yes, do nothing, then they are deleted when the user
quits lyx ...


Herbert



-- 
http://www.lyx.org/help/

Reply via email to