4 ms·
I never thought of making a blog post a man page. That's pretty awesome, actually. I'd be interested to see the code for the underlying conversion, but maybe I'
by nulbyte 3y ago
I never thought of making a blog post a man page. That's pretty awesome, actually. I'd be interested to see the code for the underlying conversion, but maybe I'll just try my hand at it myself this weekend.
Btw, in Bash, you can use process substitution to avoid littering your folder with files, if you don't want to save them:
$ man <(curl ...)
- rahimnathwani 3y ago> I'd be interested to see the code for the underlying conversion The post includes the template he used. You can adapt it to any templating engine or put some placeholders in and use sed or whatever.