Bug#775379: dpkg: Documentation of "dpkg-query -S" does not mention the special meaning of the leading slash

2015-01-15 Thread Axel Beckert
Hi Guillem, Guillem Jover wrote: > > > If the first character is any of "*[?/" then it will be considered a > > > pattern, and it will be surrounded by *, as in "*string*". > > > > I think there is a "not" missing before "any": If it starts with a > > pattern character or the root path, no as

Bug#775379: dpkg: Documentation of "dpkg-query -S" does not mention the special meaning of the leading slash

2015-01-15 Thread Guillem Jover
On Thu, 2015-01-15 at 01:37:48 +0100, Axel Beckert wrote: > Guillem Jover wrote: > > > IMHO the man page should explicitly mention that if the parameter to -S > > > starts with a slash, the parameter is taken as complete file name while > > > it is taken as substring match on path and file name oth

Bug#775379: dpkg: Documentation of "dpkg-query -S" does not mention the special meaning of the leading slash

2015-01-14 Thread Axel Beckert
Hi Guillem, Guillem Jover wrote: > > IMHO the man page should explicitly mention that if the parameter to -S > > starts with a slash, the parameter is taken as complete file name while > > it is taken as substring match on path and file name otherwise. > > Indeed, this is not clear at all. I'll d

Bug#775379: dpkg: Documentation of "dpkg-query -S" does not mention the special meaning of the leading slash

2015-01-14 Thread Guillem Jover
Hi! On Wed, 2015-01-14 at 22:54:13 +0100, Axel Beckert wrote: > Package: dpkg > Version: 1.17.23 > Severity: minor > from the dpkg-query(1) man page: > >-S, --search filename-search-pattern... > Search for packages that own files corresponding to the > given p