Re: Strange /usr/bin file
On Tue, Feb 12, 2008 at 10:02:14AM +1300, Chris Bannister <mockingbird@earthlight.co.nz> was heard to say:
> On Mon, Feb 11, 2008 at 10:22:21AM +0100, Mirco Piccin wrote:
> > Hi all.
> > I find in my Debian Lenny machine this file, in /usr/bin folder:
> >
> > -rwxr-xr-x 1 root root 34504 2008-01-29 04:03 [
> >
> > Who created this file? What does it do?
>
> I presume you mean "what" created this file?
>
> chrisb@box:~$ dpkg -S /usr/bin/[
> dpkg: /usr/bin/[ not found.
>
> Huh?
I think the problem is that dpkg allows globs and/or regexps in the
arguments to -S, and [ is a metacharacter in both of those. Running
dpkg -S /usr/bin/\\[
works as expected. (of course you have to escape the backslash so the
shell leaves it alone)
Daniel
Reply to: