shell script, invented by ~ando at tilde.town