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
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND