[–] 1 point 7 months ago (2 children)

J'ai pas de misère à imaginer. J'habite dans le même coin pis je me verrai pas aller au bureau en ville à chaque jour.

J'y dirait que c'est le temps de changer de job, mais ouin, c'est ça qui est ça...

  • source
  • parent
  • context
  • [–] 4 points 1 year ago

    Absolutely, it's only about convenience. I often miss the fact that firefox is in the list of all the packages that are getting updated and realize it only when I open a new tab and I get the error message, and that's annoying. Very much a first world problem for sure!

  • source
  • parent
  • context
  • [–] 3 points 1 year ago* (last edited 1 year ago) (1 child)

    I was actually looking for something like this a few days ago. This is pretty useful as there's no crc32sum readily available on linux. Thanks for that!

    I would personally change a few things, mostly small nitpicks to be fair.

    1. Prefer [[ ]] over [ ] for tests. Source: https://www.shellcheck.net/wiki/SC2292
    2. Use $0 instead of hardcoding crc32sum in the help messages. That way it will work even if someone names the script differently
    3. You could exit 0 after the help and end the if there instead of having the whole work being done in an else.

    As I said, nitpicks!

    Also, I like that your example uses *.smc, that's also the reason I needed a crc32sum 🤣

  • source