From 7caefc8521db5b0c681a825ecd9208def9b51860 Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Mon, 20 Sep 2021 09:55:35 +1000 Subject: [PATCH] minor readme cleanup --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7ba9ca43..035d41fa 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,12 @@ yq is written in go - so you can download a dependency free binary for your plat ## Quick Usage Guide Read a value: - ```bash yq e '.a.b[0].c' file.yaml -# alternatively, use '-' as the filename to read from STDIN +``` + +Pipe from STDIN: +```bash cat file.yaml | yq e '.a.b[0].c' - ```