Jul 6, 2004 #1 casorter Programmer Nov 19, 2003 15 US i have need of a dos based text file complete with CRLF at the end of each line. will the lfoncr utility supply this thanks for the help mark
i have need of a dos based text file complete with CRLF at the end of each line. will the lfoncr utility supply this thanks for the help mark
Jul 6, 2004 #2 PHV MIS Nov 8, 2002 53,708 FR man xtod or: awk '{print $0"\r"}' /path/to/unixfile > dosfile Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244 Upvote 0 Downvote
man xtod or: awk '{print $0"\r"}' /path/to/unixfile > dosfile Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
Jul 6, 2004 Thread starter #3 casorter Programmer Nov 19, 2003 15 US thanks... will the other not work? Upvote 0 Downvote
Jul 6, 2004 #4 PHV MIS Nov 8, 2002 53,708 FR I didn't know which OS and version (OSR, UnixWare, OpenLinux, ...), so I gave a general awk script. Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244 Upvote 0 Downvote
I didn't know which OS and version (OSR, UnixWare, OpenLinux, ...), so I gave a general awk script. Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
Jul 6, 2004 Thread starter #5 casorter Programmer Nov 19, 2003 15 US ok will let you know... thanks so much Upvote 0 Downvote
Jul 6, 2004 #6 edfair Technical User Apr 17, 2000 8,703 US some versions add the correct contents with doscp. Ed Fair Give the wrong symptoms, get the wrong solutions. Upvote 0 Downvote
some versions add the correct contents with doscp. Ed Fair Give the wrong symptoms, get the wrong solutions.