add doc and add space on labels

This commit is contained in:
Simon Vieille 2019-08-23 15:31:54 +02:00
bovenliggende 5a0c732391
commit 9990b69ea2
Getekend door: deblan
GPG sleutel-ID: 03383D15A1D31745
2 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen

Bestand weergeven

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

Bestand weergeven

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