summaryrefslogtreecommitdiff
path: root/Examples of proper JQ usage.md
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-04-25 16:15:25 +0200
committerJasper Ras <jras@hostnet.nl>2025-04-25 16:15:25 +0200
commitc9a730e5b363a10639309c81dab838232ee434b6 (patch)
tree56463ab88aae11ede76b21a9ac20376606d72f8f /Examples of proper JQ usage.md
parentab409a3701bf59dd73dc1e0324376bdac8b6d74f (diff)
vault backup: 2025-04-25 16:15:25
Diffstat (limited to 'Examples of proper JQ usage.md')
-rw-r--r--Examples of proper JQ usage.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/Examples of proper JQ usage.md b/Examples of proper JQ usage.md
index b63ee4e..2b68d01 100644
--- a/Examples of proper JQ usage.md
+++ b/Examples of proper JQ usage.md
@@ -1,6 +1,5 @@
---
tags:
- - linux
- jq
- howto
---
@@ -8,4 +7,6 @@ Double escapes are important!
```
jq -r '.fixed_ips[] | select(.ip_address | test("\\.")) | .ip_address'
-``` \ No newline at end of file
+```
+
+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