User Tools

Site Tools


ubuntu:file:unix2dos

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
ubuntu:file:unix2dos [2020/07/15 09:30] – external edit 127.0.0.1ubuntu: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.1594805433.txt.gz · Last modified: 2020/07/15 09:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki