xref
: /
freebsd
/
bin
/
sh
/
tests
/
builtins
/
hash4.0
(revision 9ecd54f24fe9fa373e07c9fd7c052deb2188f545)
Home
History
Annotate
Line#
Scopes#
Navigate#
Raw
Download
current directory
1
# $FreeBSD$
2
3
exec 3>&1
4
m=`hash nosuchtool 2>&1 >&3`
5
r=$?
6
[ "$r" != 0 ] && [ -n "$m" ]
7