9 lines
497 B
Plaintext
Raw Normal View History

2025-02-15 01:38:37 +00:00
Aldar said False alert everyone, I was just an idiot who didn't set the port 80 NAT at home to only apply to packets from the WAN interface... So it sent them right back...,You know how ' are used to keep shell from touching the containing string in any way, right?
What effed me up is that in bash, if you prepend the first apostrophe with a dollar sign, it overrides that and turns on escape sequence translation within the string
$ echo 'foo\nbar'
foo\nbar
$ echo $'foo\nbar'
foo
bar```