March 4, 2019

Introduction to CMake

For the sake of maintainability it’s important that non-trivial software projects have some sort of build system, whether makefiles, autotools, cmake, or some language-specific tooling. Unfortunately, how to write a build system seems to be something that’s rarely explained to computer science students. While not somewhat controversial and not as popular as older solutions like autotools, I find that CMake is easier to learn and use in many cases. Read more

March 2, 2019

Shell Quoting

The difference between the different types of quotes as used by bash (and similar sh like shells) seems to keep coming up while reviewing code. It seems like people mostly use the double quote (“) and just hope for the best, but this can be problematic, depending on the data that you’re working with. Let’s try some examples: Read more

Powered by Hugo & Kiss.