X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=jq%2FREADME.md;h=adaa8551d509c52a80efa550c3deb4d27db76dab;hb=4c679beea1228ee4464e956a17c40e2979525ebc;hp=092328939c6691c00bc0651e4111a36ed507b3f1;hpb=3a224e58f164d6783c7d1903648b488e6f2f1615;p=webi-installers%2F.git diff --git a/jq/README.md b/jq/README.md index 0923289..adaa855 100644 --- a/jq/README.md +++ b/jq/README.md @@ -3,10 +3,22 @@ title: jq homepage: https://stedolan.github.io/jq/ tagline: | jq is a lightweight and flexible command-line JSON processor. -description: | - `jq` is like `sed` for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that `sed`, `awk`, `grep` and friends let you play with text. --- +## Updating `jq` + +```bash +webi jq@stable +``` + +Use the `@beta` tag for pre-releases. + +## Cheat Sheet + +> `jq` is like `sed` for JSON data - you can use it to slice and filter and map +> and transform structured data with the same ease that `sed`, `awk`, `grep` and +> friends let you play with text. + All jq selectors begin with `.` - don't forget that! Be sure to checkout the @@ -34,7 +46,7 @@ echo '{ "name": "foo" }' | jq -r '.name' ``` ```txt -"foo" +foo ``` ### How to select a whole object