[Beowulf] regex expert needed

Michael Di Domenico mdidomenico4 at gmail.com
Tue Jun 14 15:53:40 EDT 2011


apparently

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

thanks

On Tue, Jun 14, 2011 at 3:48 PM, Michael Di Domenico
<mdidomenico4 at 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 at beowulf.org sponsored by Penguin Computing
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Beowulf mailing list