Björn@swg-empire.de to Programmer Humor@programming.dev · 8 months agoPretty straight forwardswg-empire.deimagemessage-square47fedilinkarrow-up1732arrow-down112file-text
arrow-up1720arrow-down1imagePretty straight forwardswg-empire.deBjörn@swg-empire.de to Programmer Humor@programming.dev · 8 months agomessage-square47fedilinkfile-text
minus-squareBeanie@programming.devlinkfedilinkarrow-up4·8 months 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
echojust prints whatever was given to it, it’ll print"¯\_(ツ)_/¯"with the quotes