Re: [9fans] lsr

2008-09-05 Thread a
There's also 'walk' by Dan Cross, in /n/sources/contrib/cross/walk.c. Lsr's faster (bufio?), but I like walk's depth-limiting switch (and it sounds like you might like the quoting switch). Dan also did sor ("streaming or") to apply various tests to files. The two in combination do very well for re

[9fans] lsr

2008-09-05 Thread gas
How come lsr [http://swtch.com/lsr.c] is not in the distribution? To me, it seems reasonable to put it there. The find-like hacks on the wiki, using du -a, awk &c are useless when the filenames have spaces, du quotes its output and the quotes get quoted. Also, lsr is in use for "contrib". /G.