Afficher un message
Vieux 18/08/2006, 18h19   #7
William
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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


  Réponse avec citation
 
Page generated in 0,04468 seconds with 9 queries