Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Possible Duplicate:
How to bulk convert all the file in a file system branch between Unix and Windows line break format?

which is the best tool to convert the CRLF to LF for my project in C++,one of the guideline is to do so before review.

share|improve this question
add comment

marked as duplicate by Gilles, manatwork, Michael Mrozek Sep 16 '12 at 17:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

Try the dos2unix and unix2dos tools.

Wrap it in a shell script to match all your source files and it should be done.

share|improve this answer
    
thanks @gertvdijk,@Gilles –  Satyendra Sep 17 '12 at 4:18
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.