tomateaux mutters.
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
BlackEco@lemmy.blackeco.com to Programming@programming.devEnglish · 2 days ago

Error handling in bash

notifox.com

external-link
message-square
29
link
fedilink
104
external-link

Error handling in bash

notifox.com

BlackEco@lemmy.blackeco.com to Programming@programming.devEnglish · 2 days ago
message-square
29
link
fedilink
Error handling in bash | Notifox Blog
notifox.com
external-link
Most bash scripts are very brittle because error handling is an afterthought. In this blogpost you'll learn about the easiest ways to gracefully catch and handle errors. Best practices and common pitfalls.
  • thingsiplay@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    2 days ago

    BTW here is an interesting discussion on Github about this topic: bash_strict_mode.md

Programming@programming.dev

programming@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

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 [email protected]



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 363 users / day
  • 1.4K users / week
  • 3.29K users / month
  • 7.87K users / 6 months
  • 1 local subscriber
  • 25.5K subscribers
  • 932 Posts
  • 9.27K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • UlrikHD@programming.dev
  • bugsmith@programming.dev
  • Spyro@programming.dev
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org