I am involoved in migrating OS from AIX to SLES 11. One script has a command Unix2dos & Dos2Unix. What is the alternative for these in SLES. Will recode latin1.. work???
Jump to Post
If you have
trthen you could use to delete all instances of '\r' to convert from Dos to Unix, or to replace the end of each line with '\r\n' to go from Unix to Dos.
tr -d '\r' < dosfile > unixfile
sed -e 's/$/\r/g' …
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.