우분투 DOS 문서 UNIX 포맷: 두 판 사이의 차이
imported>Rigor74 (새 문서: === 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 </SyntaxHig...) |
imported>Darkcircle |
||
| (같은 사용자의 중간 판 하나는 보이지 않습니다) | |||
| 1번째 줄: | 1번째 줄: | ||
=== ubuntu dos2unix === | === ubuntu dos2unix === | ||
{{TerminalWindow|{{TerminalLine|prompt=user|~|sudo apt-get install dos2unix}}}} | |||
또는 | |||
{{TerminalWindow|{{TerminalLine|prompt=user|~|sudo apt-get install tofrodos}}<br/> | |||
{{TerminalLine|prompt=user|~|sudo ln -s /usr/bin/fromdos /usr/bin/dos2unix}}}} | |||
* 실행 | * 실행 | ||
unix 계열의 text file은 다른 줄바꿈 문자(\n)가 사용됩니다. | unix 계열의 text file은 다른 줄바꿈 문자(\n)가 사용됩니다. | ||
DOS/Window는 \r\n가 사용됩니다. | DOS/Window는 \r\n가 사용됩니다. | ||
{{TerminalWindow|{{TerminalLine|prompt=user|test|unix2dos a.txt b.txt}}<br/> | |||
{{TerminalLine|prompt=user|test|unix2dos -o a.txt b.txt}}}} | |||
또는 | |||
{{TerminalWindow|{{TerminalLine|prompt=user|test|dos2unix a.txt b.txt}}<br/> | |||
{{TerminalLine|prompt=user|test|dos2unix -o a.txt b.txt}}}} | |||
unix2dos - UNIX to DOS text file format converter 도스에서 유닉스로 | 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. 유닉스에서 도스로 | dos2unix - This manual page documents dos2unix, the program that converts plain text files in DOS/MAC format to UNIX format. 유닉스에서 도스로 | ||
'''''수정요망''''' | |||
2015년 7월 28일 (화) 17:57 기준 최신판
ubuntu dos2unix[편집]
{{#ifeq: msg|user|~|{{#ifeq: misc|user|~ sudo apt-get install dos2unix|{{#ifeq: root|user|ubuntu-korea|{{#ifeq: user|user|user@ubuntu-korea|(undefined)}}}} ~ {{#ifeq: root|user|#|{{#ifeq: user|user|$|$}}}} sudo apt-get install dos2unix}}}}
또는
{{#ifeq: msg|user|~|{{#ifeq: misc|user|~ sudo apt-get install tofrodos|{{#ifeq: root|user|ubuntu-korea|{{#ifeq: user|user|user@ubuntu-korea|(undefined)}}}} ~ {{#ifeq: root|user|#|{{#ifeq: user|user|$|$}}}} sudo apt-get install tofrodos}}}}
{{#ifeq: msg|user|~|{{#ifeq: misc|user|~ sudo ln -s /usr/bin/fromdos /usr/bin/dos2unix|{{#ifeq: root|user|ubuntu-korea|{{#ifeq: user|user|user@ubuntu-korea|(undefined)}}}} ~ {{#ifeq: root|user|#|{{#ifeq: user|user|$|$}}}} sudo ln -s /usr/bin/fromdos /usr/bin/dos2unix}}}}
- 실행
unix 계열의 text file은 다른 줄바꿈 문자(\n)가 사용됩니다.
DOS/Window는 \r\n가 사용됩니다.
{{#ifeq: msg|user|test|{{#ifeq: misc|user|test unix2dos a.txt b.txt|{{#ifeq: root|user|ubuntu-korea|{{#ifeq: user|user|user@ubuntu-korea|(undefined)}}}} test {{#ifeq: root|user|#|{{#ifeq: user|user|$|$}}}} unix2dos a.txt b.txt}}}}
{{#ifeq: msg|user|test|{{#ifeq: misc|user|test unix2dos -o a.txt b.txt|{{#ifeq: root|user|ubuntu-korea|{{#ifeq: user|user|user@ubuntu-korea|(undefined)}}}} test {{#ifeq: root|user|#|{{#ifeq: user|user|$|$}}}} unix2dos -o a.txt b.txt}}}}
또는
{{#ifeq: msg|user|test|{{#ifeq: misc|user|test dos2unix a.txt b.txt|{{#ifeq: root|user|ubuntu-korea|{{#ifeq: user|user|user@ubuntu-korea|(undefined)}}}} test {{#ifeq: root|user|#|{{#ifeq: user|user|$|$}}}} dos2unix a.txt b.txt}}}}
{{#ifeq: msg|user|test|{{#ifeq: misc|user|test dos2unix -o a.txt b.txt|{{#ifeq: root|user|ubuntu-korea|{{#ifeq: user|user|user@ubuntu-korea|(undefined)}}}} test {{#ifeq: root|user|#|{{#ifeq: user|user|$|$}}}} 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. 유닉스에서 도스로
수정요망