Package: dlocate
Version: 0.5-0.3
Followup-For: Bug #208425

A test:

    % echo bsdutils | egrep '*sdl*' ; echo $?
    bsdutils
    0
    % echo bsdutils | grep '*sdl*' ; echo $?
    1

I suggest adding another option to do the same thing with 'grep' --
coding it is very easy, just copy, (or make a function of), the present
'-l' routine, and call 'grep' instead of 'egrep'.  Maybe name the
new option '-w' for wildcard.

Also, the current man page should be tweaked:

    % man dlocate | grep -m 1 -nA 7 'simplistic'
    26:    -l     simplistic  emulation  of  `dpkg  -l'.  Shows all packages 
which
    27-           match package.  Internally this uses egrep on a file  
containing
    28-           the  reformatted  output  of `dpkg -l' (four fields separated 
by
    29-           one space-character: status,  package-name,  installed  
version,
    30-           description)  so it will return packages whose tag-line 
matches,
    31-           too. Extended regular expression are allowed. For example,  
dlo-
    32-           cate  -l  '^..  libc5'  will list all the package names 
starting
    33-           with `libc5'.)

...it would be better if this description noted the regexp/wildcard
difference between 'dlocate -l' and 'dpkg -l'. e.g.:

     -l     simplistic  emulation  of  `dpkg  -l', but with regular 
            expressions instead of wildcards.   ...etc...


Hope this helps...


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages dlocate depends on:
ii  dctrl-tools                   2.9.0      Command-line tools to process Debi
ii  dpkg                          1.13.22    package maintenance system for Deb
ii  grep-dctrl                    2.9.0      Grep Debian package information - 
ii  perl                          5.8.8-6.1  Larry Wall's Practical Extraction 

dlocate recommends no packages.

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to