*: path/to/everything (#9589)
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
- List misspelled words from standard input:
|
||||
|
||||
`cat {{file}} | aspell list`
|
||||
`cat {{path/to/file}} | aspell list`
|
||||
|
||||
- Show available dictionary languages:
|
||||
|
||||
@@ -21,4 +21,4 @@
|
||||
|
||||
- List misspelled words from standard input and ignore words from personal word list:
|
||||
|
||||
`cat {{file}} | aspell --personal={{personal-word-list.pws}} list`
|
||||
`cat {{path/to/file}} | aspell --personal={{personal-word-list.pws}} list`
|
||||
|
@@ -6,20 +6,20 @@
|
||||
|
||||
- Split a file at lines 5 and 23:
|
||||
|
||||
`csplit {{file}} {{5}} {{23}}`
|
||||
`csplit {{path/to/file}} {{5}} {{23}}`
|
||||
|
||||
- Split a file every 5 lines (this will fail if the total number of lines is not divisible by 5):
|
||||
|
||||
`csplit {{file}} {{5}} {*}`
|
||||
`csplit {{path/to/file}} {{5}} {*}`
|
||||
|
||||
- Split a file every 5 lines, ignoring exact-division error:
|
||||
|
||||
`csplit -k {{file}} {{5}} {*}`
|
||||
`csplit -k {{path/to/file}} {{5}} {*}`
|
||||
|
||||
- Split a file at line 5 and use a custom prefix for the output files:
|
||||
|
||||
`csplit {{file}} {{5}} -f {{prefix}}`
|
||||
`csplit {{path/to/file}} {{5}} -f {{prefix}}`
|
||||
|
||||
- Split a file at a line matching a regular expression:
|
||||
|
||||
`csplit {{file}} /{{regular_expression}}/`
|
||||
`csplit {{path/to/file}} /{{regular_expression}}/`
|
||||
|
@@ -17,4 +17,4 @@
|
||||
|
||||
- Print the footprint of a file:
|
||||
|
||||
`pkginfo -f {{file}}`
|
||||
`pkginfo -f {{path/to/file}}`
|
||||
|
@@ -5,19 +5,19 @@
|
||||
|
||||
- Print the contents of a file in pride colors to the standard output:
|
||||
|
||||
`pridecat {{file}}`
|
||||
`pridecat {{path/to/file}}`
|
||||
|
||||
- Print contents of a file in trans colors:
|
||||
|
||||
`pridecat {{file}} --{{transgender|trans}}`
|
||||
`pridecat {{path/to/file}} --{{transgender|trans}}`
|
||||
|
||||
- Alternate between lesbian and bisexual pride flags:
|
||||
|
||||
`pridecat {{file}} --lesbian --bi`
|
||||
`pridecat {{path/to/file}} --lesbian --bi`
|
||||
|
||||
- Print contents of a file with the background colors changed:
|
||||
|
||||
`pridecat {{file}} -b`
|
||||
`pridecat {{path/to/file}} -b`
|
||||
|
||||
- List directory contents in pride flag colors:
|
||||
|
||||
|
@@ -5,15 +5,15 @@
|
||||
|
||||
- Open a file in the default editor:
|
||||
|
||||
`sensible-editor {{file}}`
|
||||
`sensible-editor {{path/to/file}}`
|
||||
|
||||
- Open a file in the default editor, with the cursor at the end of the file:
|
||||
|
||||
`sensible-editor + {{file}}`
|
||||
`sensible-editor + {{path/to/file}}`
|
||||
|
||||
- Open a file in the default editor, with the cursor at the beginning of line 10:
|
||||
|
||||
`sensible-editor +10 {{file}}`
|
||||
`sensible-editor +10 {{path/to/file}}`
|
||||
|
||||
- Open 3 files in vertically split editor windows at the same time:
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
|
||||
- Use the contents of a file as input of the clipboard:
|
||||
|
||||
`cat {{file}} | xsel -ib`
|
||||
`cat {{path/to/file}} | xsel -ib`
|
||||
|
||||
- Output the clipboard's contents into the terminal (equivalent to `Ctrl + V`):
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
- Output the clipboard's contents into a file:
|
||||
|
||||
`xsel -ob > {{file}}`
|
||||
`xsel -ob > {{path/to/file}}`
|
||||
|
||||
- Clear the clipboard:
|
||||
|
||||
|
Reference in New Issue
Block a user