On 30.08.2013 10:50, Timothy Murphy wrote:
> 
> Is there an option for grep, or some similar program,
> that will print out a whole paragraph -
> defined as the section between two blank lines -
> containing a given word or phrase?
> 
> Such as the above 4 lines.
> If not, can anyone suggest a simple script that will do this?
> 
> 


$ git clone git://github.com/bmc/grizzled-python.git
$ cd grizzled-python
$ su -c "python setup.py install"

$ git clone git://github.com/bmc/paragrep.git
$ cd paragrep
$ su -c "python setup.py install"

$ paragrep

Brian M. Clapper
http://software.clapper.org/paragrep/


poma


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to