Check whether a file uses CRLF or LF to end lines
21552
How to test whether a file uses CRLF or LF without modifying it?
121855
Best way to determine if two path reference to same file in Windows?
63271
How does a program detect the end of stdin input?
87510
Why different line endings - Unix vs Windows
130069
Bash tool to get nth line from a file
8112
How to add text to end of line when pattern is matched?
50943
shell test whether multiple lines string contains specified pattern in last line
156055
The error "there is no line to end here" when using \\~\\ or \newline
11339
What's the last character in a file?
21762
Are shell scripts sensitive to encoding and line endings?
78766
How can I replace end line with fixed text when the next line begins with a defined set of characters?
81746
Vi on Linux: show ^M line endings for DOS-format files
84934
Why is the end-of-line $ anchor not working with the grep command, even though the front-of-line ^ anchor is?
50383
How can I search for a multiline pattern in a file?
99749
How i can use \IfFileExist{FileName}{}{} with spaces in FileName
2094
git replacing LF with CRLF
80283
How to make a Line[] with no end?