64382aa4e6
Submitted by: G. Paul Ziemba Suggested by: asomers@ MFC after: 2 weeks Sponsored by: DARPA, AFRL
15 lines
120 B
Bash
15 lines
120 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
if [ -n "$2" ]; then
|
|
ypmatch $2 $1
|
|
exit 0
|
|
fi
|
|
|
|
if [ -n "$1" ]; then
|
|
ypcat -k $1
|
|
exit 0
|
|
fi
|