install dos2unix
mint-13 Script_works # apt-get install dos2unix -y |
- convert CRLF to LF
mint-13 Script_works # file zzz.py zzz.py: Python script, ASCII text executable, with CRLF line terminators mint-13 Script_works # dos2unix zzz.py dos2unix: converting file zzz.py to Unix format ... |
- convert LF to CRLF
mint-13 Script_works # unix2dos zzz.py unix2dos: converting file zzz.py to DOS format ... mint-13 Script_works # file zzz.py zzz.py: Python script, ASCII text executable, with CRLF line terminators |
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.