Re: "read line" ignoring last line
"Anoop" <anoopkumarv@gmail.com> wrote in message
news:1155919273.163202.268030@p79g2000cwp.googlegr oups.com...
>
>
> I agree - but these files were handcoded and come from the client side
> - we cannot control what comes from them..
>
> But the workaround posted by Bill Marcum works fine. I think I am going
> ahead with modifying just that one script...
>
> Thanks alot to all,
> Anoop
Watch out for other problems with these files - some things will
handle them fine, but many versions of common tools will drop the
last line. Running the files through sed, for example, may chop
off the last line. (We experienced that with some configuration
files - some of the developers decided to make them "neater" by
removing the last newline. That broke our build and was very
hard to track down.)
-Wm
|