#!/usr/bin/sh for f in *.c *.h do dos2ux <$f >$f.ux mv $f.ux $f done