mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-05 20:15:36 +00:00
Update pkg/yqlib/doc/operators/headers/system-operators.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
884c2d8b6b
commit
2c8605f634
@ -7,7 +7,7 @@ The `system` operator allows you to run an external command and use its output a
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yq --enable-system-operator '.field = system("command"; "arg1")'
|
yq --null-input --enable-system-operator '.field = system("command"; "arg1")'
|
||||||
```
|
```
|
||||||
|
|
||||||
The operator takes:
|
The operator takes:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user