more of a shell / awk question
From: fixx (fixx_at_*NoSpam*.fixx.co.za)
Date: 04/26/04
- Next message: Michel Talon: "Re: Any other java-plugins for mozilla?"
- Previous message: Raffi: "Re: Please Read - Windows XP and Roaming Profiles"
- Next in thread: fixx: "Re: more of a shell / awk question"
- Reply: fixx: "Re: more of a shell / awk question"
- Reply: Eddie Corns: "Re: more of a shell / awk question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 26 Apr 2004 10:05:32 +0200
Helo everyone
Is it possible to use awk to cut lines?
I got a little shell script running through inetd, this is what it
outputs:
Trying 10.0.5.10...
Connected to 10.0.5.10.
Escape character is '^]'.
9853
4840
0
0
Connection closed by foreign host.
i only want the 4 lines with the values of 98... to the last 0 to be
echo'd, i.o.w:
9853
4840
0
0
is it possible using awk?
Thanks in advance
fixx
-- In a world with no boundaries, Who Needs Gates?
- Next message: Michel Talon: "Re: Any other java-plugins for mozilla?"
- Previous message: Raffi: "Re: Please Read - Windows XP and Roaming Profiles"
- Next in thread: fixx: "Re: more of a shell / awk question"
- Reply: fixx: "Re: more of a shell / awk question"
- Reply: Eddie Corns: "Re: more of a shell / awk question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|