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)"