use single quotes when possible, replace echo -n with printf
check ARGV[1] or /bin/bash by default
try to detect the segfault, not syntax error, etc.
	a simple, portable way to detect `abnormal exit status' is better
fix running under dash and possible other posix shells
	tested with dash, ksh, zsh and bash itself