Recent Posts

The New Bible for IT Architects

2 minute read

I have just finished reading The Software Architect Elevator by Gregor Hohpe. It is rare these days for me to read a book from cover to cover. This was a wel...

Bashing out Spaces

1 minute read

There’s no need to use tr, sed and awk to trim whitespace from variables in Bash. Here’s how.

Bashing out basename and dirname

2 minute read

To find out the file and path components of a full filename, code similar to the following is often used: fullname="/path/to/filename" filename=$(basename "$...