Unescape with pipe
Given this file
$ cat foo.txt \"That's funny, haha\"
I can unescape the double quotes with read
$ read bar < foo.txt $ echo $bar "That's funny, haha"
However can this be done with a pipe? Something like
cat foo.txt | unescape
This seems to do it
sed -r 's/\\(.)/\1/g'