On 01/22/12 13:26, Roy Smith wrote:
If you wanted to do it in one pass using standard unix
tools, you can use:

sed -n -e'/^[0-2]/w first-three.txt' -e'/^[34]/w
next-two.txt' -e'/^[5-7]/w next-three.txt'

I stand humbled.

In all likelyhood, you stand *younger*, not so much humbled ;-)

-tkc



--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to