Skip to content

Instantly share code, notes, and snippets.

@choiseoungho
Created January 5, 2019 04:59
Show Gist options
  • Save choiseoungho/7bb300a4681c48d998887a9f805bfab4 to your computer and use it in GitHub Desktop.
Save choiseoungho/7bb300a4681c48d998887a9f805bfab4 to your computer and use it in GitHub Desktop.
window-> linux
개행 문자가 포함된다.따라서
정규식을 이용해서 제거
e.g) sed -i -e 's/\r$//' test.sh
UNIX -> window
e.g) sed -i -e 's/$/\r/' test.sh
reference
[1] https://www.snoopybox.co.kr/1613
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment