On Wed, May 09, 2007 at 11:37:28AM -0400, Greg Folkert wrote:
> On Wed, 2007-05-09 at 21:07 +0800, Wang Xu wrote:
> > On Wed, May 09, 2007 at 09:01:50AM -0400, Tom Grove wrote:
> > > Hello all...I am new to this Debian thing :-) I used it in the Woody
> > > days but moved over to the FreeBSD world for the last few years. I
> > > recently installed Testing (Lenny) and see the left bracket in my
> > > /usr/bin directory and do not know what it is. When I ls -al it I get:
> > >
> > > -rwxr-xr-x 1 root root 24752 2007-01-30 13:51 /usr/bin/[
> > >
> > > This leads me to believe that it was installed with the base system or
> > > some package because I just installed the system earlier this week. Any
> > > help is much appreciated. Thanks.
> >
> > it is test(1)
>
> greg@princess:~$ dpkg -S /usr/bin/\[
> dpkg: /usr/bin/[ not found.
Correction:
$ dpkg -S usr/bin/\\\[
coreutils: /usr/bin/[
coreutils: /usr/share/man/man1/[.1.gz
Cause: dpkg takes a search pattern, not a file name. Hence
'[' is a special character for dpkg itself. From dpkg(1):
dpkg -S | --search filename-search-pattern ...
Search for a filename from installed packages.
:-)
--
Karl E. Jorgensen
karl@jorgensen.org.uk http://www.jorgensen.org.uk/
karl@jorgensen.com http://karl.jorgensen.com
==== Today's fortune:
Ever wonder if taxation without representation might have been cheaper?
Attachment:
signature.asc
Description: Digital signature