> `which` is non-standard

Is this a problem in practice? This is not the only place in the script where `which` is used.