#!/bin/csh # oasisDos2Unix - Convert OASIS files from DOS format to Unix format # set tmpfile = tmpfile foreach file (*.h *.c *.inc *.s *.hex) /usr/bin/dos2ux $file > $tmpfile rm -f $file mv $tmpfile $file end