From 72eb94b0bb5da7861bfd965519fd98f188f083ea Mon Sep 17 00:00:00 2001 From: Shannon Appelcline Date: Wed, 29 Mar 2017 16:04:08 -0700 Subject: [PATCH] Update 4_2__Interlude_Using_JQ.md --- 4_2__Interlude_Using_JQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/4_2__Interlude_Using_JQ.md b/4_2__Interlude_Using_JQ.md index d465f1a..ce0c1e3 100644 --- a/4_2__Interlude_Using_JQ.md +++ b/4_2__Interlude_Using_JQ.md @@ -29,7 +29,7 @@ $ bitcoin-cli signrawtransaction $rawtxhex ``` Fortunately, JQ can easily capture data of that sort! -To use JQ, run `jq` at the backend of a pipe, and always use the standard invocation of `jq -r '.'`. The `-r` tells JQ to produce raw output, which will work for command-line variables, while the `.` tells jq to ouput. We protected it in `' '` because we'll need that protection later. +To use JQ, run `jq` at the backend of a pipe, and always use the standard invocation of `jq -r '.'`. The `-r` tells JQ to produce raw output, which will work for command-line variables, while the `.` tells jq to ouput. We protect those argument in `' '` because we'll need that protection later as our `jq` invocations get more complex. To capture a specific value from a JSON object, you just list the key after the `.`: ```