From f5aa5242fc69b43958078546c3c02f6cc8402d64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn?= Date: Mon, 17 Jul 2017 23:47:09 +0200 Subject: [PATCH] Make speaking lists better Previously, when Say was used to read lists with stars "*" as list points, it spoke its directory contents. They're now being replaced with plus "+" to make clear that a new list point is starting. The plus sign works and is localised. "list dot" is long and would need localisation. --- source/Say/say.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/Say/say.sh b/source/Say/say.sh index fb7adbddf..e28eccc47 100644 --- a/source/Say/say.sh +++ b/source/Say/say.sh @@ -1 +1,2 @@ -echo $POPCLIP_TEXT | say \ No newline at end of file +result_string="${POPCLIP_TEXT//\*/+}" +echo "$result_string" | say