Simple TLDR Client Written in POSIX Shell


I got annoyed that the tldr client I was using downloaded pages only a week after they were last downloaded. (How often do the options of coreutils change?)

When I searched for a setting to only use the cache, I realized that I wasn't using most features of the client across its hundreds of lines of code, so I wrote my own with only what I need.

The script uses cat to output the markdown, making it instantaneous. The only arguments are the command and optionally a platform. You can find it here, and the latest release of the tldr pages here.

When searching for a subcommand (e.g., git log), use a hyphen, preventing "log" from being used as the platform.