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

Re: Bizarre ls Behavior

On Thu, 2005-07-21 at 20:48 -0700, Steve Lamb wrote:
> Martin McCormick wrote:
> > 	Other directories seem normal.  What could possibly be going
> > on here?  Here is a listing of what is in bin.  There is a file named
> > [ but that is the only strange thing in the listing and it is not
> > causing the behavior:
>     Well, I can't say why it is happening but I can tell you [ is not strange.
>  If anyone ever wanted to know why my answer to any shell script problem is
> "program in python (or perl if you must)" need only look at man [.
> [(1)                             User Commands                            [(1)
>        test - check file types and compare values
>     Yes, this is normal.  This is how shell scripts a while back did tests.
> Neat, in a scary "holy crap" sort of way.  :)

Whaddaya mean "a while back"?  It's still in Sid...

  $ dir /usr/bin/[
  -rwxr-xr-x  1 root root 23928 2004-07-16 06:37 /usr/bin/[

Unfortunately, I can't determine it's package using the usual tool:

  $ dpkg -S /usr/bin/[
  dpkg: /usr/bin/[ not found.
  $ dpkg -S "/usr/bin/["
  dpkg: /usr/bin/[ not found.
  $ dpkg -S '/usr/bin/['
  dpkg: /usr/bin/[ not found.

Ron Johnson, Jr.
Jefferson, LA USA
PGP Key ID 8834C06B I prefer encrypted mail.

"We have heard much of the phrase, ''peace and friendship.'' This
phrase, in expressing the aspiration of America, is not complete.
We should say instead, ''peace and friendship, in freedom.''
This, I think, is America's real message to the rest of the
Dwight D Eisenhower

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: