• 89 Posts
  • 1.61K Comments
Joined 2 years ago
cake
Cake day: June 15th, 2023

help-circle






  • Agreed on your points and usually I do 2. (name) and 3. (exit instead else) sometimes. For the [[ over [, it usually matters only for word splitting and globbing behavior, if you do not enclose the variables between quotes I believe. But looking into the shellcheck entry, looks like there is no disadvantage. I may start doing this by default in the future too.

    So thanks for the suggestions, I will update the script in a minute.

    Edit: I always forget that Beehaw will break if I use the “lower than” character like in , so I replaced it in the post with cat %%EOF which requires to change that line. And the example usage is gone for the moment.

    Edit2 (21 hours later): I totally forgot to remove the indentation and else-branch. While doing so I also added a special option -h, in case someone tries that. Not a big deal, but thought this should be.





  • Just a thumb of rule to make sense of it: A column in AWK is by default any space separated part. You can change the column separator to any other character too with -F ":" in example would be a double colon. There is also a way to print all columns, but with certain exceptions. In example print all, but the third and fourth columns: ls -l | awk '{$3=""; $4=""; print $0}' . Admittely I forget this syntax often and have to look for it again.



  • Don’t make yourself (and others) false hope, it will not happen. Why? In the past Bungie officially said they don’t want support Linux. This company is quiet hostile towards Linux for whatever reason. That’s why I don’t have any hope for this game to be playable on the Deck (or in Linux general for that matter).

    Sure things can change sometimes, but I would not hope on this based on speculation. Not being the party pooper here, just trying to be realistic based on history.


  • It depends, there are no hard rules. I have a preference for the native package manager with pacman and repository of my distribution. I also would like to use AUR more often, but it depends who is maintaining that package. It also depends if there is a Flatpak available. Some AppImages have an auto update for itself, so I download it only once and use the applications own update functionality manually.

    The good thing about AppImages are that they usually don’t require super user privileges to install (in other words use) them and I can also archive them very easily.