*: path/to/everything (#9589)

This commit is contained in:
pixel
2022-12-04 10:12:49 +01:00
committed by GitHub
parent ab7a36fbe6
commit 0d99563193
61 changed files with 147 additions and 147 deletions

View File

@@ -5,20 +5,20 @@
- Number non-blank lines in a file:
`nl {{file}}`
`nl {{path/to/file}}`
- Read from standard output:
`cat {{file}} | nl {{options}} -`
`cat {{path/to/file}} | nl {{options}} -`
- Number only the lines with printable text:
`nl -t {{file}}`
`nl -t {{path/to/file}}`
- Number all lines including blank lines:
`nl -b a {{file}}`
`nl -b a {{path/to/file}}`
- Number only the body lines that match a basic regular expression (BRE) pattern:
`nl -b p'FooBar[0-9]' {{file}}`
`nl -b p'FooBar[0-9]' {{path/to/file}}`