The right tool for the right job
The problem? Delete a few repeating patterns from a few text files. Except that each text file is several hundred megabytes in size. For some weird reason, I spent *quite* some time fiddling around with sed (yes - *that* sed )and trying to get multi-line patterns to work.
And then it hit me.
Five minutes and an equal number in lines of Python code later, I had something that did the job as well.
There's a moral in this tale somewhere. I'm just not sure what it is.
I really should try SFU (Microsoft Services For Unix)
Just curious, how do you go about looking for the pattern.
(vista ultimate!) - Guru,chennai
And wish you a (delayed) Deepavali wishes!
<< Home
Archives
November 2004 January 2006 June 2006 July 2006 August 2006 September 2006 October 2006 November 2006 December 2006 January 2007 February 2007 March 2007 April 2007 May 2007 June 2007 July 2007 August 2007 September 2007 October 2007 December 2007 January 2008 February 2008 March 2008 April 2008 May 2008

