Small `du' reformatter :-)
François Pinard
pinard at iro.umontreal.ca
Sat Jan 22 20:44:21 EST 2000
More information about the Python-list mailing list
Sat Jan 22 20:44:21 EST 2000
- Previous message (by thread): Small `du' reformatter :-)
- Next message (by thread): Small `du' reformatter :-)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Siggy Brentrup <bsb at winnegan.de> écrit: > François Pinard <pinard at iro.umontreal.ca> writes: > > I knew I wrote a small Python tool to reformat `du' output [...] > Quoting Tim Peters from another thread: > Tim> [...] 99% of such a script ships with Python, in > Tim> Tools/Scripts/pindent.py. From the top of that file: > s/pindent/dutree/ Yes, I took a look, thanks! May I offer to replace the distributed script with mine? You will get a script which is shorter and more elegant Python. Its output might also be a bit better pruned and sorted, in my opinion. Before: 172 . | 21 src | 16 lib | 10 data | | 4 .deps After: 172 \_ . 10 \_ data 4 | \_ .deps 16 \_ lib 21 \_ src -- François Pinard http://www.iro.umontreal.ca/~pinard
- Previous message (by thread): Small `du' reformatter :-)
- Next message (by thread): Small `du' reformatter :-)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list