rajeshkumar created the topic: Configuring line-ending settings in perforce
Unix uses one byte, 0x0A (LineFeed), while windows uses two bytes, 0x0D 0x0A (Carriage Return, Line feed).
To Find the files which has Windows line endings
egrep -l $’\r\n’ * in Bash
To Convert files from DOS TO unix
if the file has regular LF line endings, then it won’t print any output. But if the file has CRLF, bare CR, or mixed line endings, it will tell you that
Configuring line-ending settings in perforce
Twitt me @ twitter.com/RajeshKumarIn