summaryrefslogtreecommitdiff
path: root/Pass arguments to JQ.md
diff options
context:
space:
mode:
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