add doc and add space on labels
This commit is contained in:
parent
5a0c732391
commit
9990b69ea2
|
@ -6,7 +6,7 @@ Send SMS using kdeconnect.
|
||||||
```bash
|
```bash
|
||||||
$ git clone https://gitnet.fr/deblan/sms-sender.git
|
$ git clone https://gitnet.fr/deblan/sms-sender.git
|
||||||
$ cd sms-sender
|
$ 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
|
$ export DEVICE=XXXXXXXXXXXXXXXX # @see kdeconnect-cli -l
|
||||||
$ ./send-sms
|
$ ./send-sms
|
||||||
```
|
```
|
||||||
|
|
4
send-sms
4
send-sms
|
@ -27,10 +27,10 @@ if [ -n "$FILE" ]; then
|
||||||
|
|
||||||
if [ -n "$SEARCH" ]; then
|
if [ -n "$SEARCH" ]; then
|
||||||
if [ -n "$(echo "$LABEL" | grep -i "$SEARCH")" ]; then
|
if [ -n "$(echo "$LABEL" | grep -i "$SEARCH")" ]; then
|
||||||
printf " \"%s\" \"%s\"" "$VALUE" "$LABEL"
|
printf " \"%s\" \"%s\"" "$VALUE" " $LABEL "
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
printf " \"%s\" \"%s\"" "$VALUE" "$LABEL"
|
printf " \"%s\" \"%s\"" "$VALUE" " $LABEL "
|
||||||
fi
|
fi
|
||||||
done)"
|
done)"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue