run me like this: % source bug-report.sh