Hi All,
I am trying to get
curl -s ipinfo.io -o -
into a variable
X=$(curl -s ipinfo.io -o -)
But I lose all my line feeds when I
echo -e $X
How do I get my line feeds back?
Many thanks,
-T
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Show replies by date