1#!/bin/sh
2#
3# $FreeBSD$
4#
5
6if [ -n "$2" ]; then
7	ypmatch $2 $1
8	exit 0
9fi
10
11if [ -n "$1" ]; then
12	ypcat -k $1
13	exit 0
14fi
15