Watch on SkipVid platform, alternative to YouTube client watching YouTube videos indirectly, but without ads: https://skipvids.com/?v=-cTsFt-j7rk
I just found this creator who is super excited about the new Bash version. He goes through some aspects of the new changes and features. There is something funny about a guy getting so excited about a new Bash version, that I wanted to share it because of that. :D
Also its nice to see the changes in action and have an explanation from someone who (seemingly) knows what he is doing.
Video (partial) description:
Source Code: github.com/bahamas10/bash-changes
$ whoami Yo what’s up everyone my name’s dave and you suck at programming! Connect with me on my socials below and if you’re reading this you’re legally required to subscribe to my channel.
$ cat source-code The source code for my YSAP series (or related videos) is available for free under the MIT License on GitHub: Source Code → github.com/bahamas10/ysap
Yes, I use shellcheck in the editor. Its pretty useful. But running (a little bit more complex commands) in the terminal directly won’t help with shellcheck. That’s why I also have a functionality to directly load and edit the current command in the terminal in (Neo)vim and edit and when closing Vim the command gets executed. The benefit doing this is getting checked by shellcheck in the editor and also it makes it easier to one-off complex commands.
Thanks to shellcheck I got in the habbit to always enclose variables in
${var}
. And recently learned from a community member that using[[ expr ]]
style has basically no downsides against using[ expr ]
directly.