use the same output for the short text as for the long text, polish

This commit is contained in:
koksnuss 2018-05-15 11:35:46 +02:00
parent 1ef96fe5c5
commit a529bdff01

View File

@ -1,5 +1,7 @@
#!/bin/bash
ip=$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')
echo $ip
echo ""
IP=$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')
echo "$IP"
echo "$IP"
echo ""