[pacman-dev] [[ and set -E vs trap ERR] - the [[ $( ! type workaround

Allan McRae allan at archlinux.org
Thu Nov 19 22:49:14 EST 2009

Isaac Good wrote:
> Re: the bug with [[ $( type -p func ) ]] and the funky !


Thanks for the info.  I have learnt a lot about bash and error traps 
from this.

Thinking about this issue, we will have to keep the "[[ ! $(type..." 
for a while anyway to keep compatibility with bash 4.0.


More information about the pacman-dev mailing list