tldr.html (1364B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"> 5 <title>Simple TLDR Client Written in POSIX Shell | Riaz's Website</title> 6 <link rel="stylesheet" href="/style.css"> 7 <link rel="icon" href="data:,"> 8 <meta name="description" content="Simple tldr client written in less than ten lines of POSIX shell"> 9 <meta name="viewport" content="width=device-width, initial-scale=1"> 10 </head> 11 <body> 12 <h1>Simple TLDR Client Written in POSIX Shell</h1> 13 <hr> 14 <article> 15 <p>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?)</p> 16 <p>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.</p> 17 <p>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 <a href="/git/dotfiles/file/.local/bin/tldr.html">here</a>, and the latest release of the tldr pages <a href="https://github.com/tldr-pages/tldr/releases/latest/download/tldr.zip">here</a>.</p> 18 <p>When searching for a subcommand (e.g., git log), use a hyphen, preventing "log" from being used as the platform.</p> 19 </article> 20 <footer> 21 <hr> 22 <a href="/">Home Page</a></footer> 23 </body> 24 </html>