Lemmy Mengsk
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 3 个月前

Like programming in bash

lemmy.ml

external-link
message-square
185
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
1.67K
external-link

Like programming in bash

lemmy.ml

cm0002@lemmy.world to Programmer Humor@programming.dev · 3 个月前
message-square
185
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • stetech@lemmy.world
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    2 个月前

    set -euo pipefail

    Fun fact, if you’re forced to write against POSIX shell, you aren’t allowed to use these options, since they’re not a thing, which is (part of) the reason why for example Google doesn’t allow any shell language but bash, lol.

    • jxk@sh.itjust.works
      link
      fedilink
      arrow-up
      4
      ·
      2 个月前

      Btw, all three set options given above are included in POSIX since 2024: https://pubs.opengroup.org/onlinepubs/9799919799/

      • stetech@lemmy.world
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        2 个月前

        Ooh, you’re totally right!! I forgot about that since it’s not in the older versions.

Programmer Humor@programming.dev

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

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

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

  • 511 users / day
  • 4.41K users / week
  • 8.59K users / month
  • 17.9K users / 6 months
  • 1 local subscriber
  • 23.3K subscribers
  • 1.03K Posts
  • 22.4K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org