User Tools

Site Tools


bash:files:unix2dos

BASH - Files - UNIX2DOS

Converts UNIX newlines (LF) to DOS format (CR/LF).

This is the same as converting /n to /r/n.

awk '{sub(/$/,"\r");print} filename
bash/files/unix2dos.txt · Last modified: 2022/06/13 11:35 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki