> cd ${WRKSRC}/man; \ > ${RM} -f ${CURSES_NO_MAN}; \ > for f in *.1m; do \ > - ${MV} -f $${f} `basename $${f} .1m`.1; \ > + ${MV} -f $${f} `${BASENAME} $${f} .1m`.1; \ > done; \ Why not just: ${MV} -f $${f} $${f%m} David -- David Laight: david@l8s.co.uk