Re: more of a shell / awk question

From: patpro ~ patrick proniewski (patpro_at_boleskine.patpro.net)
Date: 04/26/04


Date: Mon, 26 Apr 2004 11:02:41 +0200

In article <pan.2004.04.26.08.33.23.673106@*NoSpam*.fixx.co.za>,
 fixx <fixx@*NoSpam*.fixx.co.za> wrote:

> On Mon, 26 Apr 2004 10:05:32 +0200, fixx wrote:
>
> Ok, i have gotten it now to only print this:
> Trying
> Connected
> Escape
> 9853
> 27772
> 0
> 0
>
> but i have to "cut" the first three lines :-/
> Any help would be appreciated.

pipe it into tail -4 so that only the last 4 lines are shown.

patpro

-- 
je cherche un poste d'admin UNIX/Mac
http://patpro.net/cv.php


Relevant Pages

  • Re: [PHP] Re: Space in regex
    ... On 17/11/06, Paul Novitski wrote: ... You don't need to escape the vertical pipe. ... the pattern, the -i pattern modifier is irrelevant, so I'd drop it: ...
    (php.general)
  • Re: Gemini launch tower
    ... It almost looks like an escape ... >>slide, but escape slide wires appeared to be present on ... >Is it a water pipe to hose down the Titan II in case of a propellant leak? ... would fulfill both possible hypotheses of an emergency egress or of ...
    (sci.space.history)
  • Re: Gemini launch tower
    ... It almost looks like an escape ... >> Is it a water pipe to hose down the Titan II in case of a propellant ... > would fulfill both possible hypotheses of an emergency egress or of ... > should read Gunter Wendt's memories again - the 'pad fuehrer' surely ...
    (sci.space.history)
  • Re: =?ISO-8859-1?Q?Unerkl=E4rliches?= Verhalten beim Live-Mittschnitt mit tail cut und g
    ... Die Puffer der Pipe sind zu gross fuer deine Daten. ... D.h. cut sieht erst dann Daten von tail, wenn diese die puffergroesse ...
    (de.comp.os.unix.shell)
  • Re: tail does not exit
    ... MT> Max N. Boyarov: ... MT> tail does not quit, ... MT> exit peacefully, when its stdout closes. ... tail write to pipe ...
    (freebsd-questions)