ubuntu:file:dos2unix
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
ubuntu:file:dos2unix [2020/07/15 09:30] – external edit 127.0.0.1 | ubuntu:file:dos2unix [2022/06/13 11:16] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Ubuntu - File - DOS2UNIX ====== | ||
- | |||
- | Convert all DOS newlines (CR/LF) to UNIX format (CR). This is the same as converting **/r/n** to **/n**. | ||
- | |||
- | Works when each line ends with ^M (Ctrl-M). | ||
- | |||
- | <code bash> | ||
- | awk ' | ||
- | </ | ||
- | |||
ubuntu/file/dos2unix.1594805433.txt.gz · Last modified: 2020/07/15 09:30 by 127.0.0.1