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