im gong to compile oracle forms on Solaris and create a script. the script should check if .fmx is created then removes .err file. here is my script but I've received below error
Code to remove error files
export FORMS_PATH=export FORMS_PATH=/apps/apps/frmcompile/cmteam/hla
for FILE in `ls $FORMS_PATH/*.fmx`; do
if exist "$FILE/*.fmx";
then
rm $FILE/err
fi
done
Error Encountered
rmerr.sh[3]: exist: not found [No such file or directory]