Created
September 18, 2020 19:31
-
-
Save joachim-n/6e4a88724e0f60dafe7c6809f2dae41d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -p | |
# show what the hell is happening with line endings | |
s[ (?<! \r ) \n ] | |
[UNIX\n]x; | |
s[ \r\n] | |
[WIN\n]x; | |
s[ \r] | |
[MAC\n]x; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment