Am 14.06.2011 um 21:53 schrieb Michael Di Domenico:

> apparently
> 
> awk '/pattern1/,/pattern2/' does what i need

Yep, or similar with sed and the same address type.

-- Reuti


> thanks
> 
> On Tue, Jun 14, 2011 at 3:48 PM, Michael Di Domenico
> <mdidomeni...@gmail.com> wrote:
>> I need to search for a keyword at the beginning of a line and then
>> display each line up to the next blank line.  is this grep'able?
>> 
>> ala
>> 
>> match:
>>   text
>>   text
>>   text
>> <blank line>
>>  not needed text
>>  not needed text
>> 
> _______________________________________________
> Beowulf mailing list, Beowulf@beowulf.org sponsored by Penguin Computing
> To change your subscription (digest mode or unsubscribe) visit 
> http://www.beowulf.org/mailman/listinfo/beowulf
> 

_______________________________________________
Beowulf mailing list, Beowulf@beowulf.org sponsored by Penguin Computing
To change your subscription (digest mode or unsubscribe) visit 
http://www.beowulf.org/mailman/listinfo/beowulf

Reply via email to