• Histogram is a small python script that generates a histogram of values read from stdin.
  • Sample outputs:
  • Note that if you do not care about the stars or percentages, then you can do a "string histogram" (but not a numeric histogram) with sort | uniq -c; these tools are included in almost any *ix:
  • The usage message looks like:
  • You can check it out / download it here.


    Hits: 1137
    Timestamp: 2024-04-27 15:50:27 PDT

    Back to Dan's tech tidbits

    You can e-mail the author with questions or comments: