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

Programmer Humor

27130 readers
2561 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 9 comments
sorted by: hot top controversial new old
[–] CandleTiger@programming.dev 15 points 4 weeks ago (1 children)

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

[–] monkeyman512@lemmy.world 4 points 4 weeks ago* (last edited 4 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 3 weeks ago

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

[–] leds@feddit.dk 6 points 3 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 3 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 3 weeks ago* (last edited 3 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 3 weeks ago

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

[–] deadbeef79000@lemmy.nz 1 points 3 weeks ago
[[[[[["TCL/TK has \\\\\\\\\\"entered\\\\\\\\\\" the chat."]]]]]] 
[–] SpikesOtherDog@ani.social 1 points 3 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.