this post was submitted on 12 Mar 2025
13 points (100.0% liked)

Programmer Humor

24610 readers
914 users here now

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.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] xthexder@l.sw0.com 1 points 3 months ago (2 children)

Now print "¯\_(ツ)_/¯" with the quotes

[–] Beanie@programming.dev 2 points 3 months ago

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

[–] ultrafastsloth@lemmy.world 1 points 3 months ago

I decided to throw my PC in the composter and become a gardener