Afficher un message
Vieux 18/08/2006, 18h41   #8
Bruce Barnett
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: "read line" ignoring last line

Stephane Chazelas <stephane_chazelas@yahoo.fr> writes:

> I don't think any shell implementation would discard such a
> line. I don't know of any that does.


I do know of cases where other utilities will not see the last line if
it's not terminated by a '\n'. I think I had problems with sed and/or
grep a decade ago (was probably an old Solaris system).

I remember it because I had to write a work-around for it.


--
Sending unsolicited commercial e-mail to this account incurs a fee of
$500 per message, and acknowledges the legality of this contract.
  Réponse avec citation
 
Page generated in 0,04846 seconds with 9 queries