Other articles


  1. Living without Getopt(s)

    Living without Getopt(s)

    Parsing command lines can be tricky sometimes. There are arguments and options (the things that begin with a dash or two). Options can have arguments themselves.[1] For some options, the arguments may be optional. Options come in long (more than one letter) and short (just …

    read more
  2. Kreuzworträtselunterstützung

    Kreuzworträtselunterstützung

    So ab und an löse ich gern Kreuzworträtsel. Nicht die bekannten Rätsel, wo einfach ein Wort gesucht wird ("Nebenfluß des Ebro"). Stattdessen gibt es einen mehr oder weniger verklausulierten Hinweis auf das gesuchte Wort. Solche Rätsel gibt es beispielsweise in der Zeit, da heißt es "Um die Ecke gedacht …

    read more
  3. Envsubst

    Envsubst

    Big templating engines like Jinja2 for Python are really useful tools. But sometimes, you just need to do a little templating in a shell script, to compose a config file, for example.

    Envsubst is a simple templating machine for the shell. It replaces environment variables in files. A simple …

    read more

links

social