summaryrefslogtreecommitdiff
path: root/Pass arguments to JQ.md
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-08-21 22:09:29 +0200
committerJasper Ras <jras@hostnet.nl>2025-08-21 22:09:29 +0200
commit27514d58573ce1f844af4ea60afa72c7f58f1cd7 (patch)
tree4b16c31f73cb72435d03d5e105261143f8ca135f /Pass arguments to JQ.md
parent22675cd8dc75d8b8d4b0f818f5b093efbc364802 (diff)
vault backup: 2025-08-21 22:09:29HEADmain
Diffstat (limited to 'Pass arguments to JQ.md')
-rw-r--r--Pass arguments to JQ.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/Pass arguments to JQ.md b/Pass arguments to JQ.md
new file mode 100644
index 0000000..0411444
--- /dev/null
+++ b/Pass arguments to JQ.md
@@ -0,0 +1,7 @@
+[[JQ data types]]
+
+---
+
+`jq --arg blaat test '.name == $blaat`
+
+argument is a string, so if we want to cmp integers for example we need to cast it. \ No newline at end of file