[OT] Unix Tools (was: deleting texts between patterns)

Edward Elliott nobody at 127.0.0.1
Fri May 12 20:09:59 CEST 2006


Dan Sommers wrote:
> Or even
> 
>     awk '/abc/,/xyz/' file.txt
> 
> Excluding the abc and xyz lines is left as an exercise to the
> interested reader.

Once again, us completely disinterested readers get the short end of the
stick. :)

-- 
Edward Elliott
UC Berkeley School of Law (Boalt Hall)
complangpython at eddeye dot net



More information about the Python-list mailing list