Reputation: 123
i want to convert CR to CR+LF in batch file. Howe can i do this by writing batch file. Please help.
I am taking input from file and in that file i want to change CR to CR+LF
Upvotes: 1
Views: 535
Reputation: 236
you could use the good old unix command awk:
awk 'sub("$", "\r")' unix.txt > win.txt
Upvotes: 1