Other articles


  1. bash-default-variables

    Default-Variable

    Auf den beiden großartigen englischsprachigen Seiten zur Bash-Prgorammierung tldp und cyberciti kann man jede Menge Tricks zur Variablenmanipulation in bash finden.

    Ein sehr häufiger Fall ist die Default-Variable. Dabei gibt es zwei verschieden Fälle. Der mit dem Gleichheitszeichen (=), mit integrierter Zuweisung des Wertes

    echo ${varname:="default value"}
    

    Hier hat …

    read more
  2. ls-tricks

    Tricks with ls

    List files except those with a specific extension (zsh)

    To list all files in the current directory except those with special extensions often is very useful. For example if I am in a directory with many plots or many data files and only a few others in …

    read more

links

social