>>>>> "CR" == Chet Ramey <chet.ra...@case.edu> writes: CR> Is it a problem? Bash prints messages about signal-terminated processes -- CR> at least those that don't die due to SIGINT or SIGPIPE -- when the CR> shell is not interactive. Most people want to know when their jobs die CR> and their scripts fail.
But some don't, but also don't want to do exec 2>/dev/null and take other messages to the grave with it. Plus it isn't documented, depends on having e.g., sleep 0 after it, and in general looks like one big hack. And violates the set +mb promise! CR> (And, by the way, historical versions of sh did the same thing.) But not the oldest. OK, never mind, I'll just do sleep 11& kill -INT $! sleep 0 However you might want to document it there on the bash man page. There is a lot about SIGINT, but not this.