mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-12 23:59:11 +00:00
Update cheatsheets
This commit is contained in:
@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`{{command}} | nl -`
|
||||
|
||||
- Number [a]ll [b]ody lines including blank lines or do not [n]umber [b]ody lines:
|
||||
- Number [a]ll [b]ody lines including blank lines or do [n]ot number [b]ody lines:
|
||||
|
||||
`nl --body-numbering {{a|n}} {{path/to/file}}`
|
||||
|
||||
@@ -32,10 +32,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`nl --number-format {{rz|ln|rn}}`
|
||||
|
||||
- Specify the line numbering's width (6 by default):
|
||||
- Specify the line numbering's [w]idth (6 by default):
|
||||
|
||||
`nl --number-width {{col_width}} {{path/to/file}}`
|
||||
|
||||
- Use a specific string to separate the line numbers from the lines (TAB by default):
|
||||
- Use a specific string to [s]eparate the line numbers from the lines (TAB by default):
|
||||
|
||||
`nl --number-separator {{separator}} {{path/to/file}}`
|
||||
|
||||
Reference in New Issue
Block a user