Quantcast
Channel: Michael Paquier » linux
Viewing all articles
Browse latest Browse all 12

Clean up dos files with emacs

$
0
0
When creating files in Windows, those files will have the DOS format. This creates annoying ^M characters at the end of lines, which can be seen in patches or diff files. In order to localize them, use this command: find . -not -type d -exec file "{}" ";" | grep CRLF It will give an [...]

Viewing all articles
Browse latest Browse all 12

Trending Articles