xref
: /
freebsd
/
bin
/
sh
/
tests
/
builtins
/
hash4.0
(revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
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