User Tools

Site Tools


ubuntu:file:unix2dos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ubuntu:file:unix2dos [2019/11/27 21:31] – created peterubuntu:file:unix2dos [2022/06/13 11:35] (current) – removed peter
Line 1: Line 1:
-====== Ubuntu - File - UNIX2DOS ====== 
- 
-Converts UNIX newlines (LF) to DOS format (CR/LF).  This is the same as converting **/n** to **/r/n**. 
- 
-<code bash> 
-awk '{sub(/$/,"\r");print} filename 
-</code> 
  
ubuntu/file/unix2dos.1574890279.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki