this post was submitted on 04 Oct 2025
213 points (100.0% liked)

Programmer Humor

26996 readers
1083 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
 
top 11 comments
sorted by: hot top controversial new old
[–] CandleTiger@programming.dev 16 points 2 weeks ago (1 children)

Aaaaaaaaaaaaaaaaaaa No!!!!! My data! Please stop doing that!

[–] monkeyman512@lemmy.world 4 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

I think I have seen a few CLI tools that put the input between an open and close arg like this "-arg1 random passthrough string -arg1-"

[–] ulterno@programming.dev 1 points 2 weeks ago

Now say the CLI tool is passed a string that has "-arg1-" inside it.

[–] deadbeef79000@lemmy.nz 13 points 2 weeks ago (1 children)
[[[[[["TCL/TK has \\\\\\\\\\"entered\\\\\\\\\\" the chat."]]]]]] 
[–] leds 7 points 2 weeks ago

Oh you mean a pipiline defined in yaml, running in poweshell to execute a command in docker on windows?

[–] bobzrkr@sh.itjust.works 3 points 2 weeks ago (1 children)

I had to do this yesterday. First I tried ". Then \", finally \" worked. Which doesn't make sense. But I'm not looking for answers, I've got more Jira tickets this sprint.

[–] bobzrkr@sh.itjust.works 4 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

LOL even here it gets me . I tried slash quote, slash slash slash quote, finally slash slash quote worked.

[–] someacnt@sh.itjust.works 3 points 2 weeks ago

You mean \", \\", and \\\" ?

[–] rikudou@lemmings.world 1 points 2 weeks ago

I added an expression support to my Automod for Lemmy which can have subexpressions as parameters etc., pretty cool to work with.

Except every subexpression needs 2^n-1 slashes where n is the depth level. Fun times writing the expressions.

[–] SpikesOtherDog@ani.social 1 points 2 weeks ago

Run a PowerShell script from batch, but call it using start-process as administrator, using a variable for the path and also pass parameters to the script.