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");print}' $file > temp$$
mv temp$$ $file
done
Page Information
|
Wiki Information |
Recent PBwiki Blog Posts |