723
Pretty straight forward
(swg-empire.de)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
...this is so much more cursed than it needs to be. If you want to bash in C just
system("echo hello world");That wouldn't necessarily be bash though
Now print "¯\_(ツ)_/¯" with the quotes
I decided to throw my PC in the composter and become a gardener
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 quotesFair, should've just said shell