From 9990b69ea22a91316ff80486235c0025a3e23c7c Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Fri, 23 Aug 2019 15:31:54 +0200 Subject: [PATCH] add doc and add space on labels --- README.md | 2 +- send-sms | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e764d5a..3c1f639 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Send SMS using kdeconnect. ```bash $ git clone https://gitnet.fr/deblan/sms-sender.git $ cd sms-sender -$ export FILE=/path/to/contacts.vcf # not required if you manually fill the number +$ export FILE=/path/to/contacts.vcf # not required if you manually fill the phone number $ export DEVICE=XXXXXXXXXXXXXXXX # @see kdeconnect-cli -l $ ./send-sms ``` diff --git a/send-sms b/send-sms index f33ea14..d678719 100755 --- a/send-sms +++ b/send-sms @@ -27,10 +27,10 @@ if [ -n "$FILE" ]; then if [ -n "$SEARCH" ]; then if [ -n "$(echo "$LABEL" | grep -i "$SEARCH")" ]; then - printf " \"%s\" \"%s\"" "$VALUE" "$LABEL" + printf " \"%s\" \"%s\"" "$VALUE" " $LABEL " fi else - printf " \"%s\" \"%s\"" "$VALUE" "$LABEL" + printf " \"%s\" \"%s\"" "$VALUE" " $LABEL " fi done)"