[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /usr/bin/[ what is it?



Hello John.

> It's perfectly sane behavior, though not properly documented.  'dpkg -S'
> accepts regular expressions.  Try 
> 
>         dpkg -S '/bin/[a-z]s'

Are you sure that it supports regular expressions?

$ dpkg -S '/usr/bin/X.*'
dpkg: /usr/bin/X.* not found.

But:

$ dpkg -S '/usr/bin/X*'
xserver-xorg-core: /usr/bin/Xorg
x11-common: /usr/bin/X
xnest: /usr/bin/Xnest
libsoap-lite-perl: /usr/bin/XMLRPCsh
x11-common: /usr/bin/X11

Don’t you think that it supports only some kind of globbing like ls and others do?


Regards, Mathias

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: