Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Unix command
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).
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