On Jan 6, 3:33 pm, Bjoern Schliessmann <usenet-
[EMAIL PROTECTED]> wrote:
> Steven D'Aprano wrote:
> > grep doesn't delete lines. grep matches lines. If you want to
> > delete them, you still have to do the rest of the job yourself.
>
> In which way does "grep -v mypattern myfile > myfile" not delete the
> lines matching mypattern?
>
> Regards,
>
> Björn
>
> --
> BOFH excuse #184:
>
> loop found in loop in redundant loopback

If you do that, you'll find an empty file at the end.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to