If you are just checking tar is installed, why not use 'type tar' or 'which tar' and read the exit status? By the way, I don't think either `type' or `which' are sufficiently portable to rely on, unless one only cares about "newish" systems. The only truly reliable way is to check through the PATH elements yourself. karl