%s/ctrl-v ctrl-m//g
Finally, it should show :%s/^M//g
Alternatively we can also execute dos2unix utility to convert the file from windows to unix.
dos2unix filefromdos.xml filetounix.xml
We can also transfer the zip file and unzip it using ASCII mode.
$unzip -a mywindowsfile.zip
No comments:
Post a Comment