like bash, but not really