HP-UX Reference (11i v1 00/12) - 1M System Administration Commands A-M (vol 3)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/!!!intro.1m
________________________________________________________________
___ ___
m
makedbm(1M) makedbm(1M)
-u Undo the database_name (i.e., write the contents of database_name to the standard output), one dbm
record per line. A single space separates each key from its value.
EXAMPLES
Shell scripts can be written to convert ASCII files such as /etc/netgroup to the key-value form used
by makedbm. For example,
#!/usr/bin/sh
/usr/bin/awk ’BEGIN { FS = ":" } { print $1, $0 }’ \
/etc/netgroup | \
makedbm - netgroup
converts the file /etc/netgroup to a form that is read by makedbm to make the NIS map net-
group
. The keys in the database are netgroup(4) names, and the values are the remainders of the lines in
the /etc/netgroup file.
AUTHOR
makedbm was developed by Sun Microsystems, Inc.
SEE ALSO
domainname(1), ypinit(1M), ypmake(1M), yppoll(1M), gethostname(2), netgroup(4), ypfiles(4).
HP-UX Release 11i: December 2000 2 Section 1M455
___
___