June 28, 2014
6:19 a.m.
Le 28 juin 2014 01:18, "David T. Lewis" <lewis@mail.msen.com> a écrit :
On Fri, Jun 27, 2014 at 06:50:11PM +0200, phil@highoctane.be wrote:
Thanks.
But this would give me the 200 last chars. I am interested in the 200
last
lines.
Now, I did this:
command := 'tac ', file fullName, ' | head -200'. ^ (PipeableOSProcess command: command) output.
which did the trick but isn't portable at all (Linux here).
<OT> Don't forget to close the pipes on that PipeableOSProcess when you are done using it :-) </OT>
Isn't output closing them? Command is a complete string here. Phil
Dave