우분투 DOS 문서 UNIX 포맷
ubuntu dos2unix
<SyntaxHighlight lang="bash"> $ sudo apt-get install dos2unix
or
$ sudo apt-get install tofrodos $ sudo ln -s /usr/bin/fromdos /usr/bin/dos2unix </SyntaxHighlight>
- 실행
<SyntaxHighlight lang="bash"> unix 계열의 text file은 다른 줄바꿈 문자(\n)가 사용됩니다. DOS/Window는 \r\n가 사용됩니다.
$ unix2dos a.txt b.txt $ unix2dos -o a.txt b.txt
or
$ dos2unix a.txt b.txt $ dos2unix -o a.txt b.txt
unix2dos - UNIX to DOS text file format converter 도스에서 유닉스로 dos2unix - This manual page documents dos2unix, the program that converts plain text files in DOS/MAC format to UNIX format. 유닉스에서 도스로
<수정요망>
</SyntaxHighlight>