Module Name: src Committed By: kre Date: Wed Aug 23 01:17:46 UTC 2017
Modified Files: src/usr.bin/sys_info: sys_info.1 sys_info.sh Log Message: Put back getopts - it is easier to get correct than hand rolled code. Add -L and -P flags to allow the library/cmd search paths to be set. Add support for getting vers info from sh, dhcpcd, and userland (/etc/release). Stop abusing "sh -x" to support -v - do it properly. Get rid of the duplicate list of components used when there are no args, instead make better use of sh capabilities to just process everything. Better use of what sh can do for us other places too. Add a (more or less random) set of libraries to include in output when no args are given. OK agc (well, earlier version...) To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/usr.bin/sys_info/sys_info.1 cvs rdiff -u -r1.7 -r1.8 src/usr.bin/sys_info/sys_info.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.