mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
18 lines
451 B
Plaintext
18 lines
451 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|