skip to main
|
skip to sidebar
Getting inside LINUX
Usefull LINUX tips
17.5.10
Convert UNIX to DOS and DOS to UNIX format using sed command
Convert DOS to UNIX
$ sed 's/$'"/`echo \\\r`/" input.txt > output.txt
Convert UNIX to DOS
$ sed 's/^M$//' input.txt > output.txt
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment