mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
Add note to jq.1 about shell quoting
This commit is contained in:
@@ -49,6 +49,13 @@ manpage_intro: |
|
|||||||
in the jq language and specifies how to transform the input
|
in the jq language and specifies how to transform the input
|
||||||
document.
|
document.
|
||||||
|
|
||||||
|
Note: it is important to mind the shell's quoting rules. As a
|
||||||
|
general rule it's best to always quote (with single-quote
|
||||||
|
characters) the jq program, as too many characters with special
|
||||||
|
meaning to jq are also shell meta-characters. For example, `jq
|
||||||
|
"foo"` will fail on most Unix shells because that will be the same
|
||||||
|
as `jq foo`, which will generally fail because `foo is not defined`.
|
||||||
|
|
||||||
## FILTERS
|
## FILTERS
|
||||||
|
|
||||||
manpage_epilogue: |
|
manpage_epilogue: |
|
||||||
|
|||||||
Reference in New Issue
Block a user