From f90e3fbfc76de69efb063dcffac0cb05242ccf9d Mon Sep 17 00:00:00 2001 From: FruityWelsh Date: Mon, 13 May 2019 02:29:50 -0400 Subject: [PATCH] Speak sayto bash pipes (#2111) - Change mycroft-speak & mycroft-say-to to accept bash pipes - add feature to allow all args to read into message --- bin/mycroft-say-to | 6 +++++- bin/mycroft-speak | 6 ++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/bin/mycroft-say-to b/bin/mycroft-say-to index 964e16eb0c..4ae597f306 100755 --- a/bin/mycroft-say-to +++ b/bin/mycroft-say-to @@ -21,5 +21,9 @@ DIR="$( pwd )" # Enter the Mycroft venv source "$DIR/../venv-activate.sh" -q +# Sets var 1 to stdin if no args were given +set -- "${1:-$(