File size distribution: Difference between revisions

Content added Content deleted
(J)
m (J: use notation consistent with the earlier comment)
Line 1,000: Line 1,000:
From there, we can bucket them by factors of ten, then display the limiting size of each bucket along with the number of files contained (we'll sort them, for legibility):
From there, we can bucket them by factors of ten, then display the limiting size of each bucket along with the number of files contained (we'll sort them, for legibility):


<lang J> ((10x^~.),.#/.~) <.10 ^.1>. /:~>{:|:dirtree '~'
<lang J> ((10x^~.),.#/.~) <.10 ^.1>. /:~;{:|:dirtree '~'
1 2
1 2
10 8
10 8