Date: Thu, 8 Feb 2001 09:44:03 -0800 (PST) From: Maxim Sobolev <sobomax@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pkg_install/info info.h main.c perform.c pkg_info.1 Message-ID: <200102081744.f18Hi3B92040@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
sobomax 2001/02/08 09:44:02 PST Modified files: usr.sbin/pkg_install/info info.h main.c perform.c pkg_info.1 Log: - By default treat supplied arguments as a shell globs to be matched against names of installed packages; - add new `-G' option to disable glob matching and revert to previous behaviour (I have no idea why this could be necessary, though); - add a new `-x' option, which instructs pkg_info(1) to treat supplied arguments as a regular expressions. For example: $ pkg_info foo\* - displays information about all packages whose names start from foo $ pkg_info -G foo\*-1.1 - displays information about package named "foo*-1.1" $ pkg_info -x ^foo.\* - displays information about all packages whose names start from foo Original idea submitted by: Edwin Groothuis <mavetju@chello.nl> (bin/24695) Reviewed by: jkh, roam Approved by: jkh Revision Changes Path 1.17 +7 -1 src/usr.sbin/pkg_install/info/info.h 1.29 +32 -20 src/usr.sbin/pkg_install/info/main.c 1.34 +136 -21 src/usr.sbin/pkg_install/info/perform.c 1.35 +19 -2 src/usr.sbin/pkg_install/info/pkg_info.1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102081744.f18Hi3B92040>