3
# $Id: to_dos 2 2002-10-12 11:37:38Z hans $
5
# convert a UNIX ASCII file to a DOS ASCII file by appending ^M at the
6
# end of each line and ^Z at the end of the file
12
echo "usage: to_dos [<unix_file> [<dos_file>]]"
19
nawk '{printf("%s\r\n", $0);}' "$1" > $TMPFILE
21
nawk '{printf("%s\r\n", $0);}' > $TMPFILE
24
# Stick on the EOF character