Tags » /bin/sh

shell booleans are commands!

How should we represent boolean flags in shell? A common approach, possibly inspired by C, is to set the variable to either 0 or 1. 245 more words

Programming

bash functions: it is mad!

bash can export functions to the environment. A consequence of this is that bash can import functions from the environment. This leaves us #shellshocked. #shellshock aside, why would anyone want to do this? 686 more words

Programming