aptitude search: What exactly does `~S` (aka `~narrow`) do?

2015-02-13 Thread Kynn Jones
[NB: I hope no-one is bothered by the markdown below; I originally posted this in unix.stackexchange.com, but it was ignored there, so I deleted it and am reposting it here. I kept the markdown because I find it useful, even when it has no effect on the rendering of the text.] --- The

Re: aptitude search: What exactly does `~S` (aka `~narrow`) do?

2015-02-13 Thread Don Armstrong
On Fri, 13 Feb 2015, Kynn Jones wrote: The [documentation][1] for `~S` says: ?narrow(filter, pattern), ~S filter pattern This term “narrows” the search to package versions matching filter. In particular, it matches any package version which matches both filter and pattern. The

Re: aptitude search: What exactly does `~S` (aka `~narrow`) do?

2015-02-13 Thread Don Armstrong
On Fri, 13 Feb 2015, Kynn Jones wrote: (Unfortunately, it says nothing about filters, let alone how they differ from patterns.) Yeah, that bit of the documentation is really confusing, and certainly should be improved. I have to admit that I had to read it very carefully for a while (and it's

Re: aptitude search: What exactly does `~S` (aka `~narrow`) do?

2015-02-13 Thread Kynn Jones
On Fri, Feb 13, 2015 at 6:21 PM, Don Armstrong d...@debian.org wrote: On Fri, 13 Feb 2015, Kynn Jones wrote: The [documentation][1] for `~S` says: ?narrow(filter, pattern), ~S filter pattern This term “narrows” the search to package versions matching filter. In particular, it