On 2023-03-02 19:01, Patrick Shanahan wrote:
* Carlos E. R. <robin.listas@telefonica.net> [03-02-23 12:57]:
On 2023-03-02 01:17, Patrick Shanahan wrote:
* Carlos E. R. <robin.listas@telefonica.net> [03-01-23 16:48]:
On 2023-03-01 14:48, Per Jessen wrote:
Carlos E. R. wrote:
cer@Telcontar:~> wget -4 --timeout=15 -qO - checkip.dns24.ch 79.*.*.*cer@Telcontar:~>
No end line?
MYIP=`wget -4 --timeout=15 -qO - checkip.dns24.ch`;echo $MYIP
Good point.
since one must be interested in the result and would use it somewhere else, having it stored in a variable is already necessary and that operation not required else where.
Yes, my existing script uses a variable, I simply forgot about the new line. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)