*: path/to/everything (#9589)
This commit is contained in:
@@ -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}}`
|
||||
|
Reference in New Issue
Block a user