🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1510

Re: using grep to find one match per line

#1510
From: Schedule_Boy
Date: Thu, 05 Feb 2009 10:46
15 lines
910 bytes
Sorry for the unclear description.

I would like to get 1 match per line, and have grep return the whole line.

so a case insensitive search of

MY KUL Kuala Lumpar
SG SIN Singapore
ID JKT Jakarata

searching for "sin" would return the whole line "SG SIN Singapore" a single time.

Is that possible ?

Matthew
Technical Details
Message-ID: <59b7c67c.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b7c67c.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,b814e9ccdc1964a
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Schedule_Boy@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: using grep to find one match per line
Message-ID: <59b7c67c.1@webcrossing.la2eafNXanI>
Date: Thu, 5 Feb 2009 02:46:40 -0800
References: <59b7c67c.-1@webcrossing.la2eafNXanI>
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit