diff options
author | Jasper Ras <jras@hostnet.nl> | 2025-06-02 12:15:47 +0200 |
---|---|---|
committer | Jasper Ras <jras@hostnet.nl> | 2025-06-02 12:17:02 +0200 |
commit | 9bd8cdf2ecc2b60f873b393122b19985cbc4587c (patch) | |
tree | a4e0ad7e2824e24b187525fc3c51f8d382d1aceb /Examples of proper JQ usage.md | |
parent | a61d928b279c5c508aca3bfc7cb14d810c3d75de (diff) |
vault backup: 2025-06-02 12:15:47
Diffstat (limited to 'Examples of proper JQ usage.md')
-rw-r--r-- | Examples of proper JQ usage.md | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Examples of proper JQ usage.md b/Examples of proper JQ usage.md deleted file mode 100644 index 2b68d01..0000000 --- a/Examples of proper JQ usage.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -tags: - - jq - - howto ---- -Double escapes are important! - -``` -jq -r '.fixed_ips[] | select(.ip_address | test("\\.")) | .ip_address' -``` - -An example of constructing an array from stdin and filtering empty lines is found in [[Using JQ to construct an array and filtering empty strings]].
\ No newline at end of file |