Skip to content

Instantly share code, notes, and snippets.

@gzankevich
Created November 8, 2013 18:45
Show Gist options
  • Save gzankevich/7375599 to your computer and use it in GitHub Desktop.
Save gzankevich/7375599 to your computer and use it in GitHub Desktop.
System 1:
# git clone ... foo
# awk '/\r$/{exit 0;} 1{exit 1;}' foo/bar
# echo $?
1
System 2:
# git clone ... foo
# awk '/\r$/{exit 0;} 1{exit 1;}' foo/bar
# echo $?
0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment