ubuntu:file:dos2unix
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ubuntu:file:dos2unix [2019/11/27 21:13] – created peter | 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.1574889197.txt.gz · Last modified: 2020/07/15 09:30 (external edit)