Answers for "check line separator of file"

1

check line separator of file

file testFile.txt

# If file reports "CRLF line terminators", the file is DOS-style
# If file reports "CR line terminators", the file is Mac-style
# If file doesn't mention line terminators, the file is Unix-style
Posted by: Guest on October-19-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language