From 85a9e8993e2f721e34d7b13b4d60630639b9e6ac Mon Sep 17 00:00:00 2001 From: Fabio Serragnoli Date: Tue, 21 Jun 2022 13:04:26 +0100 Subject: [PATCH] watch: add pipeline example (#8085) --- pages/common/watch.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/watch.md b/pages/common/watch.md index c0c565964..0aad04cb1 100644 --- a/pages/common/watch.md +++ b/pages/common/watch.md @@ -14,3 +14,7 @@ - Monitor the contents of a directory, highlighting differences as they appear: `watch -d {{ls -l}}` + +- Repeatedly run a pipeline and show the result: + +`watch '{{command_1}} | {{command_2}} | {{command_3}}'`