linux - Any command we can use to convert windows file to unix or mac file? -
I do not want to use the dos2unix tool. I want to use the command in the Ubuntu terminal so that the windows can be converted to a UNIX file. Is it possible. I looked through other articles and tried those commands, but nobody is working, anybody can help
You can use You can see the carousis return in your file by using And they will appear as tr to remove the carriage return in this way:
tr -d '\ r' & lt; Windows File & gt; UnixFile
cat -vet WindowsFile
^ M
Comments
Post a Comment