Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: UNIX : script help/input

Re: UNIX : script help/input

From: Govindan K <gkatteri_at_omanmail.com>
Date: Wed, 01 Oct 2003 12:29:32 -0800
Message-ID: <F001.005D1B5F.20031001122932@fatcity.com>


Thank God for Jared

<-----Original Message----->

                    From: Tanel Poder
Sent: 10/1/2003 10:37:55 AM
To: ORACLE-L_at_fatcity.com

Thank God for Perl and Mladen ;)  

Tanel.  

	From: Johan Muller <mailto:johan_sr_at_yahoo.com>  
	To: Multiple recipients of list ORACLE-L

<mailto:ORACLE-L_at_fatcity.com>
Sent: Wednesday, October 01, 2003 8:24 PM Subject: Re: UNIX : script help/input Mladen, It worked! Heartfelt thank you from the evangelized perl crowd (now watch
the list-owner grin).         

        Mladen Gogala < mladen_at_wangtrading.com
<mailto:mladen_at_wangtrading.com> > wrote:

		#!/usr/bin/perl -w
		use strict;
		use bytes;
		my ($NAME,$IP,@LB);
		while (<>) {
		chomp;
		@LB=split /\s+/;
		if ($LB[0] =~ /^name:/i) {
		$NAME=$LB[1];
		}
		if ($LB[0] =~ /^address:/i) {
		$IP=$LB[1];
		write;
		}
		}
		format STDOUT=
		@<<<<<<<<<<<<<<<<<< ,@<<<<<<<<<<<<
		$NAME,$IP


_______________________________________________________________
Get Your 10MB account for FREE at http://mail.arabia.com ! Access MILLIONS of JOBS NOW!
<http://ads.arabia.com/?SHT=text_email_english>
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Govindan K
  INET: gkatteri_at_omanmail.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Oct 01 2003 - 15:29:32 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US