eliminate bugs and weeds from shell scripts