"Convert DOS (CR/LF) to Unix (LF) newlines within a Unix shell. See also dos2unix and unix2dos if you have them.
# sed 's/.$//' dosfile.txt > unixfile.txt
Convert Unix to DOS newlines within a Windows environment. Use sed from mingw or cygwin.
# sed -n p unixfile.txt > dosfile.txt" cb.vu
No comments:
Post a Comment