mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-19 05:01:19 +00:00
Update cheatsheets
This commit is contained in:
@@ -11,15 +11,15 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- 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:
|
||||
|
||||
`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`:
|
||||
|
||||
`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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user