Splitting a file from specific column content

Tim Chase python.list at tim.thechases.com
Sun Jan 22 14:34:31 EST 2012

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 ;-)


More information about the Python-list mailing list