Brdsnest Lemmy
  • Communities
  • Create Post
  • Create Community
  • 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
fedilink
  • cross-posted to:
  • linux@programming.dev
105
external-link

Error handling in bash

notifox.com

BlackEco@lemmy.blackeco.com to Programming@programming.devEnglish · 2 days ago
message-square
29
fedilink
  • cross-posted to:
  • linux@programming.dev
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.
  • Slyke@programming.dev
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    1 day ago

    I only use -eu. -o sometimes breaks

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: !programming@programming.dev

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



Visibility: Public
globe

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

  • 314 users / day
  • 1.4K users / week
  • 3.28K users / month
  • 7.67K users / 6 months
  • 1 local subscriber
  • 25.5K subscribers
  • 1.78K Posts
  • 21.4K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • UlrikHD@programming.dev
  • bugsmith@programming.dev
  • Spyro@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org