mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
batch2
This commit is contained in:
parent
ece95f8088
commit
86d1784d6a
25 changed files with 49 additions and 49 deletions
|
@ -6,11 +6,11 @@
|
||||||
|
|
||||||
- Decompose one or more graphs into their biconnected components:
|
- Decompose one or more graphs into their biconnected components:
|
||||||
|
|
||||||
`bcomps {{path/to/input1.gv}} {{path/to/input2.gv ...}} > {{path/to/output.gv}}`
|
`bcomps {{path/to/input1.gv path/to/input2.gv ...}} > {{path/to/output.gv}}`
|
||||||
|
|
||||||
- Print the number of blocks and cutvertices in one or more graphs:
|
- Print the number of blocks and cutvertices in one or more graphs:
|
||||||
|
|
||||||
`bcomps -v -s {{path/to/input1.gv}} {{path/to/input2.gv ...}}`
|
`bcomps -v -s {{path/to/input1.gv path/to/input2.gv ...}}`
|
||||||
|
|
||||||
- Write each block and block-cutvertex tree to multiple numbered filenames based on `output.gv`:
|
- Write each block and block-cutvertex tree to multiple numbered filenames based on `output.gv`:
|
||||||
|
|
||||||
|
|
|
@ -6,15 +6,15 @@
|
||||||
|
|
||||||
- Decompose one or more graphs into their connected components:
|
- Decompose one or more graphs into their connected components:
|
||||||
|
|
||||||
`ccomps {{path/to/input1.gv}} {{path/to/input2.gv ...}} > {{path/to/output.gv}}`
|
`ccomps {{path/to/input1.gv path/to/input2.gv ...}} > {{path/to/output.gv}}`
|
||||||
|
|
||||||
- Print the number of nodes, edges, and connected components in one or more graphs:
|
- Print the number of nodes, edges, and connected components in one or more graphs:
|
||||||
|
|
||||||
`ccomps -v -s {{path/to/input1.gv}} {{path/to/input2.gv ...}}`
|
`ccomps -v -s {{path/to/input1.gv path/to/input2.gv ...}}`
|
||||||
|
|
||||||
- Write each connected component to numbered filenames based on `output.gv`:
|
- Write each connected component to numbered filenames based on `output.gv`:
|
||||||
|
|
||||||
`ccomps -x -o {{path/to/output.gv}} {{path/to/input1.gv}} {{path/to/input2.gv ...}}`
|
`ccomps -x -o {{path/to/output.gv}} {{path/to/input1.gv path/to/input2.gv ...}}`
|
||||||
|
|
||||||
- Display help:
|
- Display help:
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
> A modern music player and library organizer.
|
> A modern music player and library organizer.
|
||||||
> See also: `audacious`, `qmmp`, `cmus`, `mpv`.
|
> See also: `audacious`, `qmmp`, `cmus`, `mpv`.
|
||||||
> More information: <https://github.com/clementine-player/Clementine/wiki>.
|
> More information: <https://manned.org/clementine>.
|
||||||
|
|
||||||
- Start the GUI or bring it to front:
|
- Start the GUI or bring it to front:
|
||||||
|
|
||||||
|
@ -14,11 +14,11 @@
|
||||||
|
|
||||||
- Toggle between pausing and playing:
|
- Toggle between pausing and playing:
|
||||||
|
|
||||||
`clementine --play-pause`
|
`clementine {{[-t|--play-pause]}}`
|
||||||
|
|
||||||
- Stop playback:
|
- Stop playback:
|
||||||
|
|
||||||
`clementine --stop`
|
`clementine {{[-s|--stop]}}`
|
||||||
|
|
||||||
- Skip to the next or previous track:
|
- Skip to the next or previous track:
|
||||||
|
|
||||||
|
@ -26,12 +26,12 @@
|
||||||
|
|
||||||
- Create a new playlist with one or more music files or URLs:
|
- Create a new playlist with one or more music files or URLs:
|
||||||
|
|
||||||
`clementine --create {{url1 url2 ... | path/to/music1.ext path/to/music2.ext ...}}`
|
`clementine {{[-c|--create]}} {{url1 url2 ...|path/to/music1.ext path/to/music2.ext ...}}`
|
||||||
|
|
||||||
- Load a playlist file:
|
- Load a playlist file:
|
||||||
|
|
||||||
`clementine --load {{path/to/playlist.ext}}`
|
`clementine {{[-l|--load]}} {{path/to/playlist.ext}}`
|
||||||
|
|
||||||
- Play a specific track in the currently loaded playlist:
|
- Play a specific track in the currently loaded playlist:
|
||||||
|
|
||||||
`clementine --play-track {{5}}`
|
`clementine {{[-k|--play-track]}} {{5}}`
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
> Perform set operations on lines of two files.
|
> Perform set operations on lines of two files.
|
||||||
> The order of the output lines is determined by the order of the lines in the first file.
|
> The order of the output lines is determined by the order of the lines in the first file.
|
||||||
> See also: `diff`.
|
> See also: `diff`.
|
||||||
> More information: <https://joeyh.name/code/moreutils/>.
|
> More information: <https://manned.org/combine>.
|
||||||
|
|
||||||
- Output lines that are in both specified files:
|
- Output lines that are in both specified files:
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
- Colorize edges of one or more graph layouts (that already have layout information) to clarify crossing edges:
|
- Colorize edges of one or more graph layouts (that already have layout information) to clarify crossing edges:
|
||||||
|
|
||||||
`edgepaint {{path/to/layout1.gv}} {{path/to/layout2.gv ...}} > {{path/to/output.gv}}`
|
`edgepaint {{path/to/layout1.gv path/to/layout2.gv ...}} > {{path/to/output.gv}}`
|
||||||
|
|
||||||
- Colorize edges using a color scheme. (See <https://graphviz.org/doc/info/colors.html#brewer>):
|
- Colorize edges using a color scheme. (See <https://graphviz.org/doc/info/colors.html#brewer>):
|
||||||
|
|
||||||
|
|
|
@ -9,12 +9,12 @@
|
||||||
|
|
||||||
- List all errno names, codes, and descriptions:
|
- List all errno names, codes, and descriptions:
|
||||||
|
|
||||||
`errno --list`
|
`errno {{[-l|--list]}}`
|
||||||
|
|
||||||
- Search for code whose description contains all of the given text:
|
- Search for code whose description contains all of the given text:
|
||||||
|
|
||||||
`errno --search {{text}}`
|
`errno {{[-s|--search]}} {{text}}`
|
||||||
|
|
||||||
- Search for code whose description contains all of the given text (all locales):
|
- Search for code whose description contains all of the given text (all locales):
|
||||||
|
|
||||||
`errno --search-all-locales {{text}}`
|
`errno {{[-S|--search-all-locales]}} {{text}}`
|
||||||
|
|
|
@ -13,15 +13,15 @@
|
||||||
|
|
||||||
- Compare all remote tracking branches:
|
- Compare all remote tracking branches:
|
||||||
|
|
||||||
`git show-branch --remotes`
|
`git show-branch {{[-r|--remotes]}}`
|
||||||
|
|
||||||
- Compare both local and remote tracking branches:
|
- Compare both local and remote tracking branches:
|
||||||
|
|
||||||
`git show-branch --all`
|
`git show-branch {{[-a|--all]}}`
|
||||||
|
|
||||||
- List the latest commits in all branches:
|
- List the latest commits in all branches:
|
||||||
|
|
||||||
`git show-branch --all --list`
|
`git show-branch {{[-a|--all]}} --list`
|
||||||
|
|
||||||
- Compare a given branch with the current branch:
|
- Compare a given branch with the current branch:
|
||||||
|
|
||||||
|
@ -33,4 +33,4 @@
|
||||||
|
|
||||||
- Keep going a given number of commits past the common ancestor:
|
- Keep going a given number of commits past the common ancestor:
|
||||||
|
|
||||||
`git show-branch --more {{5}} {{commit|branch_name|ref}} {{commit|branch_name|ref}} {{...}}`
|
`git show-branch --more {{5}} {{branch_name1|ref1|commit1 branch_name2|ref2|commit2 ...}}`
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
- Colorize one or more ranked digraph (that were already processed by `dot`):
|
- Colorize one or more ranked digraph (that were already processed by `dot`):
|
||||||
|
|
||||||
`gvcolor {{path/to/layout1.gv}} {{path/to/layout2.gv ...}} > {{path/to/output.gv}}`
|
`gvcolor {{path/to/layout1.gv path/to/layout2.gv ...}} > {{path/to/output.gv}}`
|
||||||
|
|
||||||
- Lay out a graph and colorize it, then convert to a PNG image:
|
- Lay out a graph and colorize it, then convert to a PNG image:
|
||||||
|
|
||||||
|
|
|
@ -6,19 +6,19 @@
|
||||||
|
|
||||||
- Combine several graph layouts (that already have layout information):
|
- Combine several graph layouts (that already have layout information):
|
||||||
|
|
||||||
`gvpack {{path/to/layout1.gv}} {{path/to/layout2.gv ...}} > {{path/to/output.gv}}`
|
`gvpack {{path/to/layout1.gv path/to/layout2.gv ...}} > {{path/to/output.gv}}`
|
||||||
|
|
||||||
- Combine several graph layouts at the graph level, keeping graphs separate:
|
- Combine several graph layouts at the graph level, keeping graphs separate:
|
||||||
|
|
||||||
`gvpack -g {{path/to/layout1.gv}} {{path/to/layout2.gv ...}} > {{path/to/output.gv}}`
|
`gvpack -g {{path/to/layout1.gv path/to/layout2.gv ...}} > {{path/to/output.gv}}`
|
||||||
|
|
||||||
- Combine several graph layouts at the node level, ignoring clusters:
|
- Combine several graph layouts at the node level, ignoring clusters:
|
||||||
|
|
||||||
`gvpack -n {{path/to/layout1.gv}} {{path/to/layout2.gv ...}} > {{path/to/output.gv}}`
|
`gvpack -n {{path/to/layout1.gv path/to/layout2.gv ...}} > {{path/to/output.gv}}`
|
||||||
|
|
||||||
- Combine several graph layouts without packing:
|
- Combine several graph layouts without packing:
|
||||||
|
|
||||||
`gvpack -u {{path/to/layout1.gv}} {{path/to/layout2.gv ...}} > {{path/to/output.gv}}`
|
`gvpack -u {{path/to/layout1.gv path/to/layout2.gv ...}} > {{path/to/output.gv}}`
|
||||||
|
|
||||||
- Display help:
|
- Display help:
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
`host {{domain}}`
|
`host {{domain}}`
|
||||||
|
|
||||||
- Lookup a field (CNAME, TXT,...) of a domain:
|
- Lookup a field (CNAME, TXT, ...) of a domain:
|
||||||
|
|
||||||
`host -t {{field}} {{domain}}`
|
`host -t {{field}} {{domain}}`
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# ifne
|
# ifne
|
||||||
|
|
||||||
> Run a command depending on the emptyness of `stdin`.
|
> Run a command depending on the emptyness of `stdin`.
|
||||||
> More information: <https://joeyh.name/code/moreutils/>.
|
> More information: <https://manned.org/ifne>.
|
||||||
|
|
||||||
- Run the specified command if and only if `stdin` is not empty:
|
- Run the specified command if and only if `stdin` is not empty:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# isutf8
|
# isutf8
|
||||||
|
|
||||||
> Check whether text files contain valid UTF-8.
|
> Check whether text files contain valid UTF-8.
|
||||||
> More information: <https://joeyh.name/code/moreutils/>.
|
> More information: <https://manned.org/isutf8>.
|
||||||
|
|
||||||
- Check whether the specified files contain valid UTF-8:
|
- Check whether the specified files contain valid UTF-8:
|
||||||
|
|
||||||
|
@ -9,16 +9,16 @@
|
||||||
|
|
||||||
- Print errors using multiple lines:
|
- Print errors using multiple lines:
|
||||||
|
|
||||||
`isutf8 --verbose {{path/to/file1 path/to/file2 ...}}`
|
`isutf8 {{[-v|--verbose]}} {{path/to/file1 path/to/file2 ...}}`
|
||||||
|
|
||||||
- Do not print anything to `stdout`, indicate the result merely with the exit code:
|
- Do not print anything to `stdout`, indicate the result merely with the exit code:
|
||||||
|
|
||||||
`isutf8 --quiet {{path/to/file1 path/to/file2 ...}}`
|
`isutf8 {{[-q|--quiet]}} {{path/to/file1 path/to/file2 ...}}`
|
||||||
|
|
||||||
- Only print the names of the files containing invalid UTF-8:
|
- Only print the names of the files containing invalid UTF-8:
|
||||||
|
|
||||||
`isutf8 --list {{path/to/file1 path/to/file2 ...}}`
|
`isutf8 {{[-l|--list]}} {{path/to/file1 path/to/file2 ...}}`
|
||||||
|
|
||||||
- Same as `--list` but inverted, i.e., only print the names of the files containing valid UTF-8:
|
- Same as `--list` but inverted, i.e., only print the names of the files containing valid UTF-8:
|
||||||
|
|
||||||
`isutf8 --invert {{path/to/file1 path/to/file2 ...}}`
|
`isutf8 {{[-i|--invert]}} {{path/to/file1 path/to/file2 ...}}`
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# laravel
|
# laravel
|
||||||
|
|
||||||
> A command-line installer for the Laravel framework.
|
> A command-line installer for the Laravel framework.
|
||||||
> More information: <https://laravel.com>.
|
> More information: <https://laravel.com/docs/installation>.
|
||||||
|
|
||||||
- Create a new Laravel application:
|
- Create a new Laravel application:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# lckdo
|
# lckdo
|
||||||
|
|
||||||
> This command is deprecated and has been superseded by `flock`.
|
> This command is deprecated and has been superseded by `flock`.
|
||||||
> More information: <https://joeyh.name/code/moreutils/>.
|
> More information: <https://manned.org/lckdo>.
|
||||||
|
|
||||||
- View documentation for the recommended replacement:
|
- View documentation for the recommended replacement:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# lpass
|
# lpass
|
||||||
|
|
||||||
> Command-line interface for the LastPass password manager.
|
> Command-line interface for the LastPass password manager.
|
||||||
> More information: <https://github.com/lastpass/lastpass-cli>.
|
> More information: <https://lastpass.github.io/lastpass-cli/lpass.1.html>.
|
||||||
|
|
||||||
- Log in to your LastPass account, by entering your master password when prompted:
|
- Log in to your LastPass account, by entering your master password when prompted:
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
- Bundle the edges of one or more graph layouts (that already have layout information):
|
- Bundle the edges of one or more graph layouts (that already have layout information):
|
||||||
|
|
||||||
`mingle {{path/to/layout1.gv}} {{path/to/layout2.gv ...}} > {{path/to/output.gv}}`
|
`mingle {{path/to/layout1.gv path/to/layout2.gv ...}} > {{path/to/output.gv}}`
|
||||||
|
|
||||||
- Perform layout, bundling, and output to a picture with one command:
|
- Perform layout, bundling, and output to a picture with one command:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# mispipe
|
# mispipe
|
||||||
|
|
||||||
> Pipe two commands and return the exit status of the first command.
|
> Pipe two commands and return the exit status of the first command.
|
||||||
> More information: <https://joeyh.name/code/moreutils/>.
|
> More information: <https://manned.org/mispipe>.
|
||||||
|
|
||||||
- Pipe two commands and return the exit status of the first command:
|
- Pipe two commands and return the exit status of the first command:
|
||||||
|
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
|
|
||||||
- Pretty-print one or more graphs in canonical format:
|
- Pretty-print one or more graphs in canonical format:
|
||||||
|
|
||||||
`nop {{path/to/input1.gv}} {{path/to/input2.gv ...}} > {{path/to/output.gv}}`
|
`nop {{path/to/input1.gv path/to/input2.gv ...}} > {{path/to/output.gv}}`
|
||||||
|
|
||||||
- Check one or more graphs for validity, producing no output graph:
|
- Check one or more graphs for validity, producing no output graph:
|
||||||
|
|
||||||
`nop -p {{path/to/input1.gv}} {{path/to/input2.gv ...}}`
|
`nop -p {{path/to/input1.gv path/to/input2.gv ...}}`
|
||||||
|
|
||||||
- Display help:
|
- Display help:
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
> Tee `stdin` to pipes.
|
> Tee `stdin` to pipes.
|
||||||
> See also: `tee`.
|
> See also: `tee`.
|
||||||
> More information: <https://joeyh.name/code/moreutils/>.
|
> More information: <https://manned.org/pee>.
|
||||||
|
|
||||||
- Run each command, providing each one with a distinct copy of `stdin`:
|
- Run each command, providing each one with a distinct copy of `stdin`:
|
||||||
|
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
|
|
||||||
- Extract strongly connected components of one or more directed graphs:
|
- Extract strongly connected components of one or more directed graphs:
|
||||||
|
|
||||||
`sccmap -S {{path/to/input1.gv}} {{path/to/input2.gv ...}} > {{path/to/output.gv}}`
|
`sccmap -S {{path/to/input1.gv path/to/input2.gv ...}} > {{path/to/output.gv}}`
|
||||||
|
|
||||||
- Print statistics about a graph, producing no output graph:
|
- Print statistics about a graph, producing no output graph:
|
||||||
|
|
||||||
`sccmap -v -s {{path/to/input1.gv}} {{path/to/input2.gv ...}}`
|
`sccmap -v -s {{path/to/input1.gv path/to/input2.gv ...}}`
|
||||||
|
|
||||||
- Display help:
|
- Display help:
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
- Construct the transitive reduction graph of one or more directed graphs:
|
- Construct the transitive reduction graph of one or more directed graphs:
|
||||||
|
|
||||||
`tred {{path/to/input1.gv}} {{path/to/input2.gv ...}} > {{path/to/output.gv}}`
|
`tred {{path/to/input1.gv path/to/input2.gv ...}} > {{path/to/output.gv}}`
|
||||||
|
|
||||||
- Display help:
|
- Display help:
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
- Adjust one or more directed graphs to improve the layout aspect ratio:
|
- Adjust one or more directed graphs to improve the layout aspect ratio:
|
||||||
|
|
||||||
`unflatten {{path/to/input1.gv}} {{path/to/input2.gv ...}} > {{path/to/output.gv}}`
|
`unflatten {{path/to/input1.gv path/to/input2.gv ...}} > {{path/to/output.gv}}`
|
||||||
|
|
||||||
- Use `unflatten` as a preprocessor for `dot` layout to improve aspect ratio:
|
- Use `unflatten` as a preprocessor for `dot` layout to improve aspect ratio:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# vidir
|
# vidir
|
||||||
|
|
||||||
> Edit directories in a text editor.
|
> Edit directories in a text editor.
|
||||||
> More information: <https://joeyh.name/code/moreutils/>.
|
> More information: <https://manned.org/vidir>.
|
||||||
|
|
||||||
- Edit the contents of the specified directories:
|
- Edit the contents of the specified directories:
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
- Display each action taken by the program:
|
- Display each action taken by the program:
|
||||||
|
|
||||||
`vidir --verbose {{path/to/directory1 path/to/directory2 ...}}`
|
`vidir {{[-v|--verbose]}} {{path/to/directory1 path/to/directory2 ...}}`
|
||||||
|
|
||||||
- Edit the contents of current directory:
|
- Edit the contents of current directory:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# vipe
|
# vipe
|
||||||
|
|
||||||
> Run a text editor in the middle of a UNIX pipeline.
|
> Run a text editor in the middle of a UNIX pipeline.
|
||||||
> More information: <https://joeyh.name/code/moreutils/>.
|
> More information: <https://manned.org/vipe>.
|
||||||
|
|
||||||
- Edit the output of `command1` before piping it into `command2`:
|
- Edit the output of `command1` before piping it into `command2`:
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# zrun
|
# zrun
|
||||||
|
|
||||||
> Transparently uncompress argument files to a command.
|
> Transparently uncompress argument files to a command.
|
||||||
> More information: <https://joeyh.name/code/moreutils/>.
|
> More information: <https://manned.org/zrun>.
|
||||||
|
|
||||||
- Run the specified command with uncompressed versions of the compressed argument files:
|
- Run the specified command with uncompressed versions of the compressed argument files:
|
||||||
|
|
||||||
`zrun {{cat path/to/file1.gz path/to/file2.bz2 ...}}`
|
`zrun {{cat}} {{path/to/file1.gz path/to/file2.bz2 ...}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue