# $FreeBSD: src/tools/regression/bin/sh/builtins/hash4.0,v 1.1 2012/02/11 21:06:45 jilles Exp $ exec 3>&1 m=`hash nosuchtool 2>&1 >&3` r=$? [ "$r" != 0 ] && [ -n "$m" ]