• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Solaris Unix text to MS-DOS compatible text?

BarkingGhostar

Diamond Member
OK, what is the easiest way to do this? I would prefer to d/l the file into a Windows environment and convert there, but I am open to suggestions. Right now I d/l the text file and open and save in MS Word as MS-DOS compatible text. Just wondered if there was a Windows 7 system CLI or Unix to do this command line.
 
Powershell

Code:
(Get-Content "C:\path\to\input.txt") | Set-Content "C:\path\to\output.txt"

"Bash"/Unix

Code:
sed -i "s/$/`echo -e \\\r`/" file

They both term unix line endings into windows ones. That will do it for ya.
 
Back
Top