ticket:9 output to stderr and bash script