Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-10 00:21:37 +00:00
parent 15848b0938
commit 9420175cb8
27 changed files with 159 additions and 74 deletions

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Receive JSON data and pretty print the output:
`echo '{"hello":"world"}' | mlr --ijson --opprint cat`
`{{echo '{"key":"value"}'}} | mlr --ijson --opprint cat`
- Sort alphabetically on a field:
@@ -30,7 +30,7 @@ source: https://github.com/tldr-pages/tldr.git
- Receive JSON and format the output as vertical JSON:
`echo '{"hello":"world", "foo":"bar"}' | mlr --ijson --ojson --jvstack cat`
`{{echo '{"key1":"value1", "key2":"value2"}'}} | mlr --ijson --ojson --jvstack cat`
- Filter lines of a compressed CSV file treating numbers as [S]trings: