mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

commit 7b8c8149d1a90a30d2b97f0d984d620ba97cf0ef
parent 4a86bd96407210be6c6c88646617987b8029bb9c
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sat, 20 Apr 2024 09:50:54 +0200

fix errors

Diffstat:
sms | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sms b/sms @@ -6,6 +6,6 @@ USER="$1" KEY="$2" TEMP=`mktemp` -python -c "import sys, urllib as ul; print ul.quote_plus(sys.stdin.read())" > $TEMP +python -c "import sys, urllib.parse; print(urllib.parse.quote_plus(sys.stdin.read()))" > $TEMP curl -k -I 'https://smsapi.free-mobile.fr/sendmsg?user='$USER'&pass='$KEY'&msg='`cat $TEMP` rm -f $TEMP