On 2007-09-29, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'm not sure what an shell+sed script is...
http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_05_01.html#sect_05_01_01 http://tldp.org/LDP/Bash-Beginners-Guide/html/chap_05.html http://www.grymoire.com/Unix/Sed.html http://www.gnu.org/software/bash/ http://en.wikipedia.org/wiki/Bash Unfortuantely it appears you're using Windows (a partucular bad choice for this sort of file processing). You can, however, get bash and sed for Windows if you wish: http://www.cygwin.com/ > In case it helps... We started with only 6 loops of replacecycle() but > had to keep adding progressively more as we found more and more links > with lots of spaces in them... I would think with the correct RE's you'd only have to call it once. > As we did that, the program's time grew progressively longer > but the length grew multiplicatively with the added number of > cycles... This is exactly what I would have expected and it > leads me to believe that the problem does not lie in the > replacecycle() def but in the masseditor() def... *shrug* As the program runs on progressively more files does the process's memory usage grow without bounds? Does the machine start swapping? -- Grant Edwards grante Yow! I'm pretending that at we're all watching PHIL visi.com SILVERS instead of RICARDO MONTALBAN! -- http://mail.python.org/mailman/listinfo/python-list