Debugging vanishing text in shell scripts

1 · Remy Sharp · Oct. 29, 2018, 8:23 a.m.
Did you ever get a weird bash scripting issue where a variable would "randomly" eat characters of another command? No…? Well, I have, quite a few times, so I figured it was time I wrote up my fix. Tools used: curl, awk and od...