this post was submitted on 16 Aug 2023
461 points (96.9% liked)

Programmer Humor

32484 readers
920 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

When you come back from vacation
@programmerhumor

you are viewing a single comment's thread
view the rest of the comments
[–] Dasnap@lemmy.world 16 points 1 year ago (2 children)

Me temporarily forgetting the structure of an if statement in Shell.

[–] unagi@feddit.nl 11 points 1 year ago (1 children)

I write shell scripts only very occasionally and have to look this up every time.

[–] exu@feditown.com 4 points 1 year ago

Like this I think

if [1]; then
    echo "hi"
fi