NerdHouse Social
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
BlackEco@lemmy.blackeco.com to Programming@programming.devEnglish · 1 day ago

Error handling in bash

notifox.com

external-link
message-square
24
fedilink
100
external-link

Error handling in bash

notifox.com

BlackEco@lemmy.blackeco.com to Programming@programming.devEnglish · 1 day ago
message-square
24
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.
  • vext01@lemmy.sdf.org
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    23 hours ago

    Problem is, -o pipefail isn’t portable.

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.

  • 852 users / day
  • 1.95K users / week
  • 3.52K users / month
  • 7.89K users / 6 months
  • 1 local subscriber
  • 25.5K subscribers
  • 2.27K Posts
  • 30K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • UlrikHD@programming.dev
  • bugsmith@programming.dev
  • Spyro@programming.dev
  • UI: 0.19.7
  • BE: 0.19.15
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org