in reply to extra blank line when user downloads onto PC from UNIX box

This isn't really a Unix vs Windoze problem, it's an editor behavior problem.

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.

  • Comment on Re: extra blank line when user downloads onto PC from UNIX box

Replies are listed 'Best First'.
Re: Re: extra blank line when user downloads onto PC from UNIX box
by Dude (Initiate) on Feb 13, 2001 at 04:13 UTC
    Thanks Tye and Kschwab! Thank you both very much.