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:
#!/bin/sh
# a quick and dirty chm2html.sh 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.
Advertisements