BASH-compatible merciful checkup