Skip to content
Myr

Added usage under Powershell to the manual (#2306)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Dawid Ferenczy Rogožan · committed by GitHub · parent c2026f5 · Browse files · 2 files+18 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+18 added−2 removed

  • other:+18 added−2 removed

2 files+18 added−2 removed

modified:docs/content/manual/v1.6/manual.yml+9 added-1 removed
88 unmodified lines
89 as `jq foo`, which will generally fail because `foo is not90 defined`. When using the Windows command shell (cmd.exe) it's91 best to use double quotes around your jq program when given on the92 command-line (instead of the `-f program-file` option), but then93 double-quotes in the jq program need backslash escaping.93 double-quotes in the jq program need backslash escaping. When using94 the Powershell (`powershell.exe`) or the Powershell Core95 (`pwsh`/`pwsh.exe`), use single-quote characters around the jq96 program and backslash-escaped double-quotes (`\"`) inside the jq97 program.98 99 Unix shells: `jq '.["foo"]'`100 Powershell: `jq '.[\"foo\"]'`101 Windows command shell: `jq ".[\"foo\"]"`102103 You can affect how jq reads and writes its input and output104 using some command-line options:105
3193 unmodified lines
modified:docs/content/manual/manual.yml+9 added-1 removed
89 unmodified lines
90 as `jq foo`, which will generally fail because `foo is not91 defined`. When using the Windows command shell (cmd.exe) it's92 best to use double quotes around your jq program when given on the93 command-line (instead of the `-f program-file` option), but then94 double-quotes in the jq program need backslash escaping.94 double-quotes in the jq program need backslash escaping. When using95 the Powershell (`powershell.exe`) or the Powershell Core96 (`pwsh`/`pwsh.exe`), use single-quote characters around the jq97 program and backslash-escaped double-quotes (`\"`) inside the jq98 program.99100 Unix shells: `jq '.["foo"]'`101 Powershell: `jq '.[\"foo\"]'`102 Windows command shell: `jq ".[\"foo\"]"`103104 You can affect how jq reads and writes its input and output105 using some command-line options:106107 * `--version`:
3320 unmodified lines