• 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: 1076
    Timestamp: 2024-02-29 10:26:24 PST

    Back to Dan's tech tidbits

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