Advertisement
tyler569

ng all letters with fractions

Jan 26th, 2020
385
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. find . -name '*.[ch234]' | xargs fold -b1 | sort | uniq -c | awk '{total += $1; values[$2] = $1} END {for (v in values) { print v, values[v], values[v] / total} }' | sort
  2.  
  3. $ 959 0.000463706
  4. 0 28148 0.0136104
  5. 1 15078 0.00729068
  6. % 1214 0.000587006
  7. - 13282 0.00642225
  8. ! 1333 0.000644546
  9. . 19889 0.00961694
  10. | 1996 0.000965127
  11. 2 11967 0.00578641
  12. ~ 212 0.000102509
  13. / 22146 0.0107083
  14. ; 23911 0.0115617
  15. ] 2528 0.00122237
  16. [ 2541 0.00122865
  17. , 27208 0.0131559
  18. ) 31425 0.015195
  19. ( 31598 0.0152786
  20. & 3284 0.00158791
  21. ^ 329 0.000159082
  22. \ 3375 0.00163192
  23. ` 352 0.000170203
  24. _ 36064 0.0174381
  25. * 36090 0.0174506
  26. 3 8604 0.0041603
  27. < 3914 0.00189254
  28. @ 411 0.000198731
  29. 415231 0.200777
  30. : 4262 0.00206081
  31. = 44072 0.0213102
  32. ' 4461 0.00215703
  33. 4 7127 0.00344612
  34. + 5587 0.00270149
  35. 5 6200 0.00299789
  36. } 6392 0.00309073
  37. { 6397 0.00309315
  38. 6 5893 0.00284945
  39. # 7293 0.00352639
  40. 7 5521 0.00266957
  41. > 8166 0.00394851
  42. 8 5453 0.00263669
  43. ? 873 0.000422122
  44. " 9370 0.00453068
  45. 9 5060 0.00244667
  46. A 15296 0.00739609
  47. a 61040 0.0295147
  48. b 15723 0.00760255
  49. B 6333 0.0030622
  50. c 38092 0.0184187
  51. C 9133 0.00441609
  52. d 38123 0.0184336
  53. D 9264 0.00447943
  54. e 105655 0.0510874
  55. E 19497 0.0094274
  56. f 37434 0.0181005
  57. F 7552 0.00365162
  58. g 16782 0.00811461
  59. G 4995 0.00241524
  60. h 24858 0.0120196
  61. H 4193 0.00202744
  62. I 18100 0.00875191
  63. i 75964 0.0367309
  64. J 159 7.68814e-05
  65. j 1864 0.000901301
  66. K 1390 0.000672108
  67. k 6509 0.0031473
  68. L 17574 0.00849757
  69. l 46995 0.0227235
  70. m 20755 0.0100357
  71. M 5111 0.00247133
  72. N 14489 0.00700588
  73. n 69597 0.0336523
  74. O 13466 0.00651122
  75. o 56386 0.0272644
  76. p 26075 0.0126081
  77. P 6737 0.00325755
  78. q 1614 0.000780419
  79. Q 391 0.000189061
  80. R 13679 0.00661422
  81. r 61908 0.0299344
  82. S 16592 0.00802274
  83. s 58055 0.0280714
  84. T 17086 0.00826161
  85. t 88773 0.0429245
  86. u 38510 0.0186208
  87. U 8378 0.00405102
  88. v 12447 0.00601851
  89. V 2605 0.0012596
  90. W 2376 0.00114887
  91. w 7306 0.00353268
  92. x 18791 0.00908603
  93. X 2171 0.00104975
  94. y 11287 0.00545761
  95. Y 2650 0.00128136
  96. Z 387 0.000187126
  97. z 4783 0.00231273
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement