unix2dos not found
I need to convert a Linux text file to Windows format, but when I tried unix2dos, it said "unix2dos not found".
|
It seems the newer distros do not include this utility anymore. Not sure if Slack does or not.
I just use Wordpad which translates automatically but you can only save in DOS format. Textpad is an excellent ASCII text editor for windows and you can save files in unix format. |
Re: unix2dos not found
In Slackware, these tools change their names to:
unix2dos -> todos dos2unix -> fromdos If my memory doesn't fail, in a lot of the other distributions these are found in package "dosutils". Regards, Dago |
Re: Re: unix2dos not found
Quote:
gargamel |
You can always use sed ;)
unix to dos : sed 's/\n$/\r\n/g' unixfile > dosfile |
All times are GMT -5. The time now is 08:05 AM. |