Vi likes the last character of the file to be a newline, wordpad does not. (see tye's note to see why)
Change your script to print the last line without a trailing newline.
In reply to Re: extra blank line when user downloads onto PC from UNIX box
by kschwab
in thread extra blank line when user downloads onto PC from UNIX box
by Dude
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |