pkg_install patches for review / testing
Roman Neuhauser
neuhauser at chello.cz
Sun May 2 02:49:25 PDT 2004
# eikemeier at fillmore-labs.com / 2004-05-01 16:50:32 +0200:
> Roman Neuhauser wrote:
> ># eikemeier at fillmore-labs.com / 2004-05-01 14:00:31 +0200:
> >>This patch add the following features to the pkg_install suite of tools:
> >>
> >>* new flags:
> >>
> >>-X: use extended regular expression instead of basic ones (pkg_info,
> >> pkg_delete, pkg_version) (PR 56961)
> >
> >>-E: show only matching package names and set the return code (pkg_info)
> >> (PR 56961)
> >
> > Shouldn't these two be swapped to match sed, grep, etc?
>
> I've modeled them after -x and -e:
>
> pkg_info -x -> regular expressions, pkg_info -X -> exended regular
> expressions
> The pkg_* tools have a plethora of inconsistent knobs, but they are mainly
> used in scripts. I don't really care, but I already use -E in portaudit, so
> do you think it is really worth the effort? Of course I *can* check the
> version number, so switching the flags is possible.
Given the circumstances you've described I have no opinion on the matter.
--
If you cc me or remove the list(s) completely I'll most likely ignore
your message. see http://www.eyrie.org./~eagle/faqs/questions.html
More information about the freebsd-current
mailing list