News for hackers. Stuff that matters.
Re:A New Future for Icanhazip by luckman212 on Sunday June 06, 2021 @11:19PM (#27418679)
Why the extra `echo` and subshell $(...) ?

dig... | tr... works fine without it.

also, `dig -4 ... ` to get your IPv4 address, for us dual-stacked folks. Otherwise it returns your V6 address by default.

Re:A New Future for Icanhazip by andrewmcwatters on Sunday June 06, 2021 @11:26PM (#27418724)
Yes, I pulled it out of a shell script which had more concatenated to it and didn’t bother cleaning it up.