Skip to content

Instantly share code, notes, and snippets.

@mwotton
Created June 27, 2014 04:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mwotton/c637732408115cd53b88 to your computer and use it in GitHub Desktop.
Save mwotton/c637732408115cd53b88 to your computer and use it in GitHub Desktop.
orb ➜ ~/projects/livingbook/data/dict git:(master) ✗ for i in el ell; do echo -n "$i "; grep $i\$ /usr/share/dict/words| while read x; do echo $x | wc -c; done | sort -n | uniq -c; done
el 4 4
16 5
67 6
96 7
56 8
23 9
16 10
3 11
2 13
1 14
ell 1 4
15 5
11 6
13 7
24 8
24 9
9 10
1 11
2 12
1 14
@mwotton
Copy link
Author

mwotton commented Jun 27, 2014

orb ➜  ~/projects/livingbook/data/dict git:(master) ✗ for i in el ell; do echo -n "$i "; grep $i\$ /usr/share/dict/words | while read x; do echo -n $x | wc -c; done | sort -n | uniq -c; done                                                                                                                                
el       4 3
     16 4
     67 5
     96 6
     56 7
     23 8
     16 9
      3 10
      2 12
      1 13
ell       1 3
     15 4
     11 5
     13 6
     24 7
     24 8
      9 9
      1 10
      2 11
      1 13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment