• 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: 1432
    Timestamp: 2024-12-27 08:14:39 PST

    Back to Dan's tech tidbits

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