Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-27 00:18:38 +00:00
parent 5871f35fe8
commit 9fe6559a97
123 changed files with 660 additions and 357 deletions

View File

@@ -6,19 +6,19 @@ source: https://github.com/tldr-pages/tldr.git
# enscript
> Convert text files to PostScript, HTML, RTF, ANSI, and overstrikes.
> More information: <https://www.gnu.org/software/enscript>.
> More information: <https://manned.org/enscript>.
- Generate a PostScript file from a text file:
`enscript {{path/to/input_file}} --output={{path/to/output_file}}`
`enscript {{path/to/input_file}} {{[-o|--output]}} {{path/to/output_file}}`
- Generate a file in a different language than PostScript:
`enscript {{path/to/input_file}} --language={{html|rtf|...}} --output={{path/to/output_file}}`
`enscript {{path/to/input_file}} {{[-w|--language]}} {{html|rtf|...}} {{[-o|--output]}} {{path/to/output_file}}`
- Generate a PostScript file with a landscape layout, splitting the page into columns (maximum 9):
`enscript {{path/to/input_file}} --columns={{num}} --landscape --output={{path/to/output_file}}`
`enscript {{path/to/input_file}} --columns {{num}} {{[-r|--landscape]}} {{[-o|--output]}} {{path/to/output_file}}`
- Display available syntax highlighting languages and file formats:
@@ -26,4 +26,4 @@ source: https://github.com/tldr-pages/tldr.git
- Generate a PostScript file with syntax highlighting and color for a specified language:
`enscript {{path/to/input_file}} --color=1 --highlight={{language}} --output={{path/to/output_file}}`
`enscript {{path/to/input_file}} --color 1 {{[-E|--highlight]}} {{language}} {{[-o|--output]}} {{path/to/output_file}}`