use the same output for the short text as for the long text, polish
This commit is contained in:
parent
1ef96fe5c5
commit
a529bdff01
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
ip=$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')
|
|
||||||
echo $ip
|
IP=$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')
|
||||||
echo ""
|
|
||||||
|
echo "$IP"
|
||||||
|
echo "$IP"
|
||||||
echo ""
|
echo ""
|
||||||
|
Reference in New Issue
Block a user