**** BEGIN LOGGING AT Thu Apr 18 02:59:57 2019 Apr 18 19:19:15 sicelo: look at the source of SMSCON. IIRC that sends GPS coords via SMS Apr 18 21:38:05 thanks Apr 18 21:41:09 the solution i finally came up with (for doing it the way i mentioned previously) is to pass the location URL to the following: Apr 18 21:41:15 /usr/bin/curl -s --capath /etc/certs/common-ca/ $1 | /bin/grep -oE @[0-9.-]+,[0-9.-]+ | /bin/sed 's/,/ /;s/@//' Apr 18 21:41:49 i don't think my regex in the grep is efficient, but it works Apr 18 21:53:57 the same commandline works on a pc as well (withouth needing the --capath directive) Apr 18 22:37:31 btw, as part of shell scripting hygiene, should probably put quotes around $1 Apr 18 22:37:38 curl "$1" Apr 18 22:38:24 probably also good to use -- beforehand, unless you decide to just use "$@" instead Apr 18 22:38:27 curl -- "$1" Apr 18 22:38:31 curl "$@" Apr 18 23:03:25 thanks. will implement that :) **** ENDING LOGGING AT Fri Apr 19 02:59:57 2019