this post was submitted on 28 Jul 2026
29 points (96.8% liked)

Programming

28084 readers
388 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS
top 4 comments
sorted by: hot top controversial new old
[–] FizzyOrange@programming.dev 5 points 2 weeks ago (1 children)

If you find yourself reaching for this feature it probably means your Bash script has reached the level of complexity where you should absolutely not be using Bash. Use a real programming language instead.

[–] Vulwsztyn@programming.dev 0 points 1 week ago

nah, a script with one param can totally be a bash script

[–] terranoid@lemmy.cafe 2 points 2 weeks ago

Filed away in my colon

[–] pelya@lemmy.world 2 points 2 weeks ago

You can write true instead of : and it will look better, true is an actual command.