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

  • Stop wasting time looking for files and revisions. Connect your Gmail, DriveDropbox, and Slack accounts and in less than 2 minutes, Dokkio will automatically organize all your file attachments. Learn more and claim your free account.

View
 

eoldos

Page history last edited by peterga 9 years, 11 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.