Add env builtin
This commit is contained in:
1 parent
d14fca0cc6
commit
e9a1de47b4
2 files changed
+30
-1
No files matched your search
@@ -1172,6 +1172,16 @@ sections:
|
||||
input: '[[{"a":1}]]'
|
||||
output: ['1']
|
||||
|
||||
- title: "`env`"
|
||||
body: |
|
||||
|
||||
Outputs an object representing jq's environment.
|
||||
|
||||
examples:
|
||||
- program: 'env.PAGER'
|
||||
input: 'null'
|
||||
output: ['"less"']
|
||||
|
||||
- title: "String interpolation - `\\(foo)`"
|
||||
body: |
|
||||
|
||||
|
||||
Reference in new issue
Block a user