Tag Archives: report

genstats: Quick statistical reports

I can see the usefulness of genstats almost immediately. Given a text file, you can pull out a frequency report with very little effort.

2015-02-20-6m47421-genstats

And since genstats handles its input and output in much the same way as cut, you should be able to get the information you want within just a few minutes of compiling it.

It may not be appealing to you to track word frequency in a flat text file, but consider what you could do with genstats and your average log file. That is the author’s suggestion, and the screenshot on the home page gives a good example of some advanced genstats usage.

My only complaint about genstats is so trivial that I’m embarrassed to mention it. In a file with 12 lines, and with four of the words in the second field being the same, the display should read “33%,” not “0.33%.” The latter is a third of a percent, while the former is a third of the whole. Or perhaps there is another calculation at work there, that I’m not sure about.

I get the picture though. And having said that, I suppose it’s worth mentioning that gentstats doesn’t give you a lot of control over the output. As best I can tell, that is the only style of report you’ll see from genstats.

genstats appears to be a free-roaming program; it’s not in Arch/AUR or Debian. So if you want something quick and easy to package, this might be one. 😉

mp3report: We’re not even close to finished yet

The beat goes on. Among esoteric and erstwhile intriguing mp3 accessories is mp3report, which — again, as you might have divined — is really pretty cool.

2014-01-22-g60-125nr-mp3report

Fully known as the MP3 Report Generator, this nifty little tool spits out a classy table in HTML, showing all the mp3s within its reach.

All very clever, you say, but I have over 3Tb of mixed and moshed audio files, arranged by genre, artist, album, release, edition, quality and embedded image data, through a series of 4000 folders.

Apparently not a problem, since mp3report can recurse through directories, and carries support for version 1 and 2 id3 tags.

All very clever, you say, but I would like to see more detail in a report.

In that case, I would suggest checking out the documentation, which allows you to customize the report results, adding or subtracting as much data as your little heart desires.

All very clever, you say, but it’s … it’s … it’s old.

Yes, well, it’s true, it technically dates back to 2000, but I could find no rough spots, except when I tried to force-feed it a few ogg files. 🙄

But considering it does most of its work in textmode and only outputs to a file, what exactly are you missing in terminal evolution over the last 14 years?

I found mp3report in the Debian-Ubuntu-Mint chain gang, but not in Arch or AUR. If it’s not in your distro I believe it could just be downloaded and run; I’m hopeless when it comes to perl, but it looks like it only needs mp3::info.

Next up, believe it or not … more mp3-related tools! 😯 🙄