Need help converting files to unix format 

Newsgroups: comp.os.linux.misc

So you have a directory full of text files that need converting? Actually, you should be able to compile those .c files anyway, maybe something else is wrong?

But you can try this:

find . -type f | xargs recode dos..

recode is a powerful general purpose file format changing tool. I think it will harmlessly skip non-text files, but you better check the man page (or test it out) first. recode.rpm is small and easy to install, but it has too many features to think about. And the above example really does end in two periods, that's not a typo.

If you only want to change .c files, you can alter the command to: find . -type f -name *.c | xargs recode dos..

Good luck!

Wayne Pollock