-1

I want to replace proxy list on linux from \n to \r\n.

I got line breaks pasted with just \n.

So I need to replace \n line breaks to \r\n.

How can I be make this change?

jww
  • 97,681
  • 90
  • 411
  • 885
Albert
  • 1
  • 2
    `unix2dos` is your friend. – Shawn Oct 20 '19 at 12:47
  • @Shawn - OP tagged the question with the `unix2dos` utility. I'm not sure what the problem is here. – jww Oct 21 '19 at 03:30
  • 2
    @jww he tagged it `dos2unix`. In the absence of more information, all I can assume is that he doesn't realize the opposite also exists. – Shawn Oct 21 '19 at 06:07

1 Answers1

0

unix2dos is an utility which replaces Unix(\n) line breaks in a file with Windows(\r\n) line breaks.

Arun Kumar
  • 57
  • 1
  • 12