Björn Tantau@swg-empire.de to Programmer Humor · 4 days agoPretty straight forwardswg-empire.deimagemessage-square47fedilinkarrow-up1715arrow-down112file-text
arrow-up1703arrow-down1imagePretty straight forwardswg-empire.deBjörn Tantau@swg-empire.de to Programmer Humor · 4 days agomessage-square47fedilinkfile-text
minus-squareBeanielinkfedilinkarrow-up1·7 hours agomy best guess: system("bash -c 'echo \\\"¯\\\\_(ツ)_/¯\\\"'"); which will get parsed as: bash -c 'echo \"¯\\_(ツ)_/¯\"' which will run: echo "¯\_(ツ)_/¯" and since echo just prints whatever was given to it, it’ll print "¯\_(ツ)_/¯" with the quotes
my best guess:
system("bash -c 'echo \\\"¯\\\\_(ツ)_/¯\\\"'");
which will get parsed as:
bash -c 'echo \"¯\\_(ツ)_/¯\"'
which will run:
echo "¯\_(ツ)_/¯"
and since
echo
just prints whatever was given to it, it’ll print"¯\_(ツ)_/¯"
with the quotes