| *** eMHa has quit IRC | 00:04 | |
| sicelo | thanks | 00:38 |
|---|---|---|
| sicelo | the solution i finally came up with (for doing it the way i mentioned previously) is to pass the location URL to the following: | 00:41 |
| sicelo | /usr/bin/curl -s --capath /etc/certs/common-ca/ $1 | /bin/grep -oE @[0-9.-]+,[0-9.-]+ | /bin/sed 's/,/ /;s/@//' | 00:41 |
| sicelo | i don't think my regex in the grep is efficient, but it works | 00:41 |
| *** rhn has quit IRC | 00:44 | |
| *** mp107 has quit IRC | 00:46 | |
| sicelo | the same commandline works on a pc as well (withouth needing the --capath directive) | 00:53 |
| Maxdamantus | btw, as part of shell scripting hygiene, should probably put quotes around $1 | 01:37 |
| Maxdamantus | curl "$1" | 01:37 |
| Maxdamantus | probably also good to use -- beforehand, unless you decide to just use "$@" instead | 01:38 |
| Maxdamantus | curl -- "$1" | 01:38 |
| Maxdamantus | curl "$@" | 01:38 |
| sicelo | thanks. will implement that :) | 02:03 |
| *** florian has quit IRC | 02:10 | |
| *** Natch has quit IRC | 02:11 | |
| *** Natch has joined #maemo | 02:16 | |
| *** Kabouik_ has joined #maemo | 02:25 | |
| *** Pali has quit IRC | 02:29 | |
| *** Kilroo has joined #maemo | 02:43 | |
| *** Kabouik_ has quit IRC | 02:50 | |
| *** Kabouik_ has joined #maemo | 02:50 | |
| *** atk has quit IRC | 03:10 | |
| *** atk has joined #maemo | 03:13 | |
| *** tm has quit IRC | 04:14 | |
| *** tm has joined #maemo | 04:17 | |
| *** Kabouik_ has quit IRC | 04:35 | |
| *** Kabouik has quit IRC | 04:39 | |
| *** pagurus has joined #maemo | 06:47 | |
| *** pagurus` has quit IRC | 06:51 | |
| *** rhn has joined #maemo | 08:05 | |
| *** Kilroo has quit IRC | 08:12 | |
| *** Pali has joined #maemo | 09:48 | |
| *** florian has joined #maemo | 10:48 | |
| *** Kabouik_ has joined #maemo | 10:56 | |
| *** mp107 has joined #maemo | 11:31 | |
| *** florian has quit IRC | 12:25 | |
| *** florian has joined #maemo | 12:39 | |
| *** Kabouik_ has quit IRC | 15:48 | |
| *** Kabouik has joined #maemo | 15:48 | |
| *** Kabouik has quit IRC | 16:58 | |
| *** Kabouik has joined #maemo | 16:59 | |
| *** Kabouik has quit IRC | 17:05 | |
| *** Kabouik has joined #maemo | 17:06 | |
| *** mp107 has quit IRC | 17:13 | |
| *** Kabouik has quit IRC | 17:15 | |
| *** Kabouik has joined #maemo | 17:16 | |
| *** mp107 has joined #maemo | 17:42 | |
| *** mp107 has quit IRC | 17:49 | |
| *** mp107 has joined #maemo | 17:49 | |
| *** Enrico_M_RX-51 has joined #maemo | 18:16 | |
| *** Oksana_ has joined #maemo | 18:47 | |
| *** Oksana_ has joined #maemo | 18:48 | |
| *** Oksana has quit IRC | 18:49 | |
| *** Oksana_ is now known as Oksana | 18:49 | |
| *** Enrico_M_RX-51 has quit IRC | 18:56 | |
| *** lukedashjr has joined #maemo | 20:20 | |
| *** luke-jr has quit IRC | 20:20 | |
| *** lukedashjr has quit IRC | 20:25 | |
| *** luke-jr has joined #maemo | 20:27 | |
| *** luke-jr has quit IRC | 20:33 | |
| *** luke-jr has joined #maemo | 20:34 | |
| *** Kabouik has quit IRC | 20:42 | |
| *** lukedashjr has joined #maemo | 20:49 | |
| *** luke-jr has quit IRC | 20:51 | |
| *** lukedashjr is now known as luke-jr | 20:53 | |
| *** mavhc has quit IRC | 21:06 | |
| *** lukedashjr has joined #maemo | 21:08 | |
| *** mavhc has joined #maemo | 21:10 | |
| *** luke-jr- has joined #maemo | 21:10 | |
| *** luke-jr has quit IRC | 21:10 | |
| *** lukedashjr has quit IRC | 21:12 | |
| *** luke-jr- is now known as luke-jr | 21:14 | |
| *** mp107 has quit IRC | 21:21 | |
| *** luke-jr has quit IRC | 21:28 | |
| *** luke-jr has joined #maemo | 21:30 | |
| *** luke-jr has quit IRC | 21:34 | |
| *** luke-jr has joined #maemo | 21:35 | |
| *** LauRoman|Alt has joined #maemo | 21:42 | |
| *** LauRoman has quit IRC | 21:45 | |
| *** Kilroo has joined #maemo | 22:54 | |
| *** Vajb has quit IRC | 23:06 | |
| *** dafox has joined #maemo | 23:23 | |
| *** Vajb has joined #maemo | 23:27 | |
| *** mp107 has joined #maemo | 23:30 | |
| *** rhn has quit IRC | 23:30 | |
| *** cyteen has quit IRC | 23:52 | |
| *** cyteen has joined #maemo | 23:53 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!