chm2html: how to extract html files from a .chm help file

I was searching a way to read a nasty1 .chm file, so I tried searching for “chm2pdf” and “chm2html”, and found some forum posts, and this quite old blog post. But then, I noticed there was a far easier way for everyone wise enough to already have 7zip installed:

    # a quick and dirty implementation
    # (no checks: handle with care)
    7z x "$@"

I wonder: is this so obvious that nobody ever thought to write about it, or using chmlib is really easier?

1: okular had a hard time dealing with it.

%d bloggers like this: