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 command

RE: Unix command

From: Van Wyk, Gerrit <Gerrit.VanWyk_at_bskyb.com>
Date: Thu, 08 May 2003 02:42:21 -0800
Message-ID: <F001.00593872.20030508024221@fatcity.com>


Hi.

Try:

cat inputfile | nawk -F';' '{
  if (length($3) > 15) { print }
}'

Cheers
Gerrit

-----Original Message-----
Sent: 08 May 2003 09:57
To: Multiple recipients of list ORACLE-L

Hallo,

anyone whom couldh låp me with this unix command. I cant find it any where.

I want to find in a file all lines which consists of more than 15 characters in field 3 for instance,

like in those lines:

12;34444;45342345678908765432;45
34;34;123456789012345;13

If i runthe command, then I wouldlike to get the line

12;34444;45342345678908765432;45

as a result.

Thanks in advance

Roland

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author:
  INET: roland.skoldblom_at_ica.se

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).

Information in this email may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone.  

Please note we reserve the right to monitor all e-mail communication through our internal and external networks.


--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Van Wyk, Gerrit
  INET: Gerrit.VanWyk_at_bskyb.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 Thu May 08 2003 - 05:42:21 CDT

Original text of this message

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