Configuring line-ending settings in perforce

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
dos2unix -U

file
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
kb.perforce.com/article/63
kb.perforce.com/article/63
kb.perforce.com/article/71/perforce-macintosh-platform-notes
www.perforce.com/perforce/r10.1/manuals/p4guide/02_config.html
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Rajesh Kumar
Follow me
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x