Writing Unit-Tests and Mocks for UNIX Shells
In this post, I will describe how to write unit tests for shell script components wich allow for mocking called commands. In this post, I want to focus on unit tests.
Chris’s Wiki : blog/unix/BourneShellHereDocToVariable
Suppose, for reasons to be discussed in a later entry, you would like to write a shell script that turns an embedded here document into a shell variable (ie, an unexported environment variable).
Unix command line conventions over time
ETA, 2022-05-19: I’m happy this blog post has gathered a fair bit of interest. However, this post is as much effort as I’m prepared to put into the topic.
How to fully uninstall apps in macOS just using bash
When you install a new application on your mac, the setup will throw a lot of files through your system directories. Even after the installation, many apps will continue to create config and helper files in different directories.
I am glad that you are here! I was working on bioinformatics a few years ago and was amazed by those single-word bash commands which are much faster than my dull scripts, time saved through learning command-line shortcuts and scripting.