Skip to content

Commit

Permalink
Merge d1d8618 into 80052e5
Browse files Browse the repository at this point in the history
  • Loading branch information
ferenczy committed Apr 29, 2021
2 parents 80052e5 + d1d8618 commit 213a42c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/content/manual/v1.6/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,15 @@ sections:
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:
Expand Down

0 comments on commit 213a42c

Please sign in to comment.