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

2006-05-12 Thread Edward Elliott
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) com

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

2006-05-12 Thread Dan Sommers
On Fri, 12 May 2006 07:29:54 -0500, Tim Chase <[EMAIL PROTECTED]> wrote: >> I wish to delete lines that are in between 'abc' and >> 'xyz' and print the rest of the lines. Which is the best >> way to do it? > While this *is* the python list, you don't specify whether > this is the end goal, or whe