Change the line ending to "\r\n", and see if that helps.
Otherwise, tell us which OS you're using and how you're viewing these files, and we may be more helpful.
In reply to Re: printing \n to a file
by chromatic
in thread printing \n to a file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |