freebsd-nq/bin/sh/tests/builtins/hash4.0

7 lines
86 B
Plaintext
Raw Normal View History

# $FreeBSD$
exec 3>&1
m=`hash nosuchtool 2>&1 >&3`
r=$?
[ "$r" != 0 ] && [ -n "$m" ]