On Dec 29, 10:22 am, Tim Chase <[EMAIL PROTECTED]> wrote: > If, however, order matters, you have to do it in a slightly > buffered manner.
> Can be reduced to a sed one-liner I think the original version works just as well for both cases. Your sed version however does need the order you mention. Makes it no less mind-bending though ... once I saw it I knew I had to try it :-) i. -- http://mail.python.org/mailman/listinfo/python-list