| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

eoldos

Page history last edited by peterga 13 years, 2 months ago

Back to TechNotes

 

 

 # Converts UNIX style EOLs to DOS style
 # Syntax: eoldos <filename(s)>
 # E.g.: eoldos myfile.txt myotherfile

 for file in $1
 do
   awk '{sub(/$/,"\r\n");print}' $file > temp$$
   mv temp$$ $file
 done

 

Comments (0)

You don't have permission to comment on this page.