#/bin/csh -f # purpose: includes a Control-M character # at the end of each line # to convert UNIX-ascii to DOS-ascii # extraction of Control-M characters # to convert from DOS-ascii to UNIX-ascii # tr -d "\015" < infile > outfile # we use this for the 'mxu2.003.project.gbr' # gerber files produced by fims in .fims/LOG # or extracted from the OB on Paranal # usage: CM infile outfile sed -e 's/$/ /' $1 > $2