I’m also on Mastodon as https://hachyderm.io/@BoydStephenSmithJr .

  • 0 Posts
  • 7 Comments
Joined 9 months ago
cake
Cake day: October 2nd, 2023

help-circle





  • In the U.S., laws that disadvantage specific entities are generally considered to not be following the “equal protection” part of the (amended) constitution.

    Countries without (their own) laws prohibiting it can (and do) prohibit specific services.

    Member states of the WTO (like the U.S.) have agreed to allow themselves to be sued for lost profits based on any (new) laws they pass.

    But, I’m no expert – this is just the view from my (potentially misinformed) corner of the world.


  • I primarily operate in strict standard compliance mode where I write against the shell specifications in the lastest Single Unix Specification and do not use a she-bang line since including one results in unspecified, implementation-defined behavior. Generally people seem to find this weird and annoying.

    Sometimes I embrace using bash as a scripting language, and use one of the env-based she-bangs. In that case, I go whole-hog on bashisns. While I use zsh as my interactive shell, even I’m not mad enough to try to use it for scripts that need to run in more than one context (like other personal accounts/machines, even).

    In ALL cases, use shellcheck and at least understand the diagnostics reported, even if you opt not to fix them. (I generally modify the script until I get a clean shellcheck run, but that can be quite involved… lists of files are pretty hard to deal with safely, actually.)