Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-19 00:18:18 +00:00
parent 6895198b2b
commit 846fc1563d
14 changed files with 84 additions and 37 deletions

View File

@@ -8,13 +8,13 @@ source: https://github.com/tldr-pages/tldr.git
> A realtime plotting utility for the command-line with data input from `stdin`.
> More information: <https://github.com/tenox7/ttyplot>.
- Plot the values `1`, `2` and `3` (`cat` prevents ttyplot to exit):
- Plot the values `1`, `2` and `3` (Note: `cat` prevents `ttyplot` from exiting):
`{ echo {{1 2 3}}; cat } | ttyplot`
`{ echo {{1 2 3}}; cat; } | ttyplot`
- Set a specific title and unit:
`{ echo {{1 2 3}}; cat } | ttyplot -t {{title}} -u {{unit}}`
`{ echo {{1 2 3}}; cat; } | ttyplot -t {{title}} -u {{unit}}`
- Use a while loop to continuously plot random values: