looking for speed-up ideas
Andrew Dalke
adalke at mindspring.com
Mon Feb 3 21:17:21 EST 2003
William Park wrote:
> Behold:
> egrep '^F' dumpfile | sort -t '/' -n -k 2,2 | tail -200
>
> How fast does it run?
That was my first thought too. The problem is that it doesn't
keep track of the directory names, which is needed to display
the full path name, which I believe he dumps in
for t in all_file_list:
print t[2], t[1], get_dir_name(t[3])
It's too bad he didn't include example output.
Andrew
dalke at dalkescientific.com
More information about the Python-list
mailing list