1
0
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:
Nicolas Williams
2013-12-25 17:05:32 -06:00
parent 2003a0440f
commit 1956abbedf

View File

@@ -49,6 +49,13 @@ manpage_intro: |
in the jq language and specifies how to transform the input
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
manpage_epilogue: |