snippetbashTip
scdoc — Generate `man` manual pages. More information: <https://git.sr.ht/~sircmpwn/scdoc/tree/master/item/s
Viewed 0 times
mancommandscdocpagesclimanualmoregenerate
Problem
How to use the
scdoc command: Generate man manual pages. More information: <https://git.sr.ht/~sircmpwn/scdoc/tree/master/item/scdoc.1.scd>.Solution
scdoc — Generate man manual pages. More information: <https://git.sr.ht/~sircmpwn/scdoc/tree/master/item/scdoc.1.scd>.Generate man pages from a scdoc (
.scd) file:scdoc < {{path/to/file.scd}} > {{path/to/file.1}}Generate man pages from a scdoc file and display the generated troff (man) source:
scdoc < {{path/to/file.scd}} | {{less}}Code Snippets
Generate man pages from a scdoc (`.scd`) file
scdoc < {{path/to/file.scd}} > {{path/to/file.1}}Generate man pages from a scdoc file and display the generated troff (man) source
scdoc < {{path/to/file.scd}} | {{less}}Context
tldr-pages: common/scdoc
Revisions (0)
No revisions yet.