From 292b0b4eef0be28a986cc8f23df4779bae8d2d33 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 16 Jun 2023 13:48:06 +0000 Subject: Update website --- manual/index.html | 9 ++++++++- manual/v1.6/index.html | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/manual/index.html b/manual/index.html index 7b739ce2..3fea344a 100644 --- a/manual/index.html +++ b/manual/index.html @@ -166,7 +166,14 @@ as jq foo, which will generally fail because foo is not defined. When using the Windows command shell (cmd.exe) it's best to use double quotes around your jq program when given on the command-line (instead of the -f program-file option), but then -double-quotes in the jq program need backslash escaping.

+double-quotes in the jq program need backslash escaping. When using +the Powershell (powershell.exe) or the Powershell Core +(pwsh/pwsh.exe), use single-quote characters around the jq +program and backslash-escaped double-quotes (\") inside the jq +program.

+

Unix shells: jq '.["foo"]' +Powershell: jq '.[\"foo\"]' +Windows command shell: jq ".[\"foo\"]"

You can affect how jq reads and writes its input and output using some command-line options: