NetBSD/src tUUInLm — usr.sbin/ypserv/ypinit ypinit.sh ypinit.8
Switch from getopt to getopts - and as part of that, update the usage, and the man page, to reflect modern usage rather than some ancient style that getopt[s] does not support (options, and their args when they exist) always come before non-option agrs. While here, update uses of test(1) to avoid obsolescent forms (and even when still defined, prefer sh structures over test when possible).
Version | Delta | File | |
---|---|---|---|
1.14 | +43 | -50 | usr.sbin/ypserv/ypinit/ypinit.sh |
1.18 | +4 | -4 | usr.sbin/ypserv/ypinit/ypinit.8 |
+47 | -54 | 2 files |