#!/bin/sh
for file in `find . -name "*_tmp_*.dfn"` ; do
newname=`echo "${file}" | sed 's,\(.*\)_tmp_\(.*\),\1_log_\2,'`
mv ${file} ${newname}
done
libmpu – library of arithmetic functions for integer, real, and complex numbers of increased digit capacity
#!/bin/sh
for file in `find . -name "*_tmp_*.dfn"` ; do
newname=`echo "${file}" | sed 's,\(.*\)_tmp_\(.*\),\1_log_\2,'`
mv ${file} ${newname}
done