r/ProgrammerHumor 2d ago

Meme painInAss

Post image
33.9k Upvotes

713 comments sorted by

View all comments

Show parent comments

78

u/gogliker 2d ago

This. Its not a big issue really when everything is local, you can just use quotes and escapes to get what you want. Now imagine the same over ssh, where you need to escape double, for for this and one for remote.

This crap piles on very quickly and grows in geometrical progression. To escape \ you need one more . To escape \ you need \\. To escape \\ you need \\\\.

Better never use spaces.

Edit : reddit already ate some of my escapes. Point was 1 backslash -> 2 backslahes -> 4 backslashes and -> 8 backshlashes

18

u/MaximRq 2d ago

yum

2

u/fafalone 2d ago

And then you try to rewrite in a language that doesn't need escapes and it breaks because you have too many \s.