DOS compatibility problem

Alexandre Oliva aoliva@redhat.com
Thu Feb 1 23:10:00 GMT 2001


On Feb  2, 2001, Stane Gruden <staneg@rd.iskraemeco.si> wrote:

> Is there any option in gcc to solve this problem or do I have
> to use some dos->unix converter?

This is fixed in the development version of GCC.

> In case of converter needed, does any tool exist that would convert
> entire directory trees not only a single file like dos2unix?

find . -type f -print | while read file; do
  cp $f $f.orig && chmod u+w $f && dos2unix < $f.bak > $f
done

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


More information about the Gcc mailing list