add doc and add space on labels

This commit is contained in:
Simon Vieille 2019-08-23 15:31:54 +02:00
parent 5a0c732391
commit 9990b69ea2
Signed by: deblan
GPG Key ID: 03383D15A1D31745
2 changed files with 3 additions and 3 deletions

View File

@ -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
```

View File

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