From e02c6bab1b6fa788c274e4b42a04e057273c3000 Mon Sep 17 00:00:00 2001 From: Reto Habluetzel Date: Mon, 27 Aug 2012 21:11:41 +0200 Subject: description for PipeReader2 --- readme.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'readme.md') diff --git a/readme.md b/readme.md index 2d18f67..24b390f 100644 --- a/readme.md +++ b/readme.md @@ -1048,6 +1048,11 @@ can be used in the output template as `%mydate%` - Reads its displayed output from the given pipe. +`PipeReader2 "/path/to/pipe" Alias Default` + +- Reads its displayed output from the given pipe. Displays the default string + as long as the pipe is empty. + `BufferedPipeReader Alias [ (Timeout, Bool, "/path/to/pipe1") , (Timeout, Bool, "/path/to/pipe2") , .. -- cgit v1.2.3 From 1d666aecb6ca8f6822fda2434750e8ada6a09462 Mon Sep 17 00:00:00 2001 From: Reto Habluetzel Date: Sat, 15 Sep 2012 18:45:22 +0200 Subject: updated description for change in PipeReader (default text) --- readme.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'readme.md') diff --git a/readme.md b/readme.md index 24b390f..95e54ce 100644 --- a/readme.md +++ b/readme.md @@ -1044,14 +1044,10 @@ can be used in the output template as `%mydate%` - Runs the given program, and displays its standard output. -`PipeReader "/path/to/pipe" Alias` +`PipeReader "default text:/path/to/pipe" Alias` - Reads its displayed output from the given pipe. - -`PipeReader2 "/path/to/pipe" Alias Default` - -- Reads its displayed output from the given pipe. Displays the default string - as long as the pipe is empty. +- Prefix an optional default text separated by a colon `BufferedPipeReader Alias [ (Timeout, Bool, "/path/to/pipe1") , (Timeout, Bool, "/path/to/pipe2") -- cgit v1.2.3