Needing a line feed for windows app

I wrote a program to format data with awk. This file will goto a windows machine and loaded into a windows app. The vendor said adding a line feed would help, but it would work as is. I am already doing a /n, will putting on the /r give the windows person what he wants. Thanks.

Not really knowing what you need on the output, I'd tenatively say yes.
Unix uses the newline character as a carriage return and linefeed. Windows requires both.

I normally use ^M to indicate a carriage return for windows, but I suspect the \r would be fine.

If you just have linefeeds, a windows user will see the text like this:

Here is a line
              here is another line
                                  and one more line

Windows expects newlines to be in the form Carriage Return followed by Line Feed
Here is a sed one liner to convert your file to the CR/LF format:

   sed "s/$/\`echo -e \\\\\\r\`/"

Some systems have ux2dos (or unix2dos) to convert a file.

On U*X systems, end of line is LF (Line Feed, 0x0A).
On M$ systems, end of line is CR+LF (Carriage Return, Line Feed, 0x0D, 0x0A).

To make your U*X text file compatible, use the command :

sed -e 's/$/^M/' unixfile > msfile

On command line or in vi, the ^M character can be generated by ^V^M sequence.

Thanks all... I will give your suggestions a try to see which works best. Thanks.