This is hilarious -- a program whose basic form has existed since
around the first moon landing has either you or me very confused.

On 4/27/05, Bob Proulx <[EMAIL PROTECTED]> wrote:
> > #ls as
> > af

af is the contents of the directory.

> > #ls -l as
> > lrwxrwxrwx  1 root root 2 Apr 27 19:38 as -> ad

as is not the contents of the directory.  Atari!

> It is supposed to behave that way.  But your statement confuses me.
> What other way would you expect it to behave?  What documentation and
> for which program of mkdir, touch, ln or ls would you change?

I would change "ls as" to list the symlink, and document "ls as/".  Or
I would change "ls -l as" to list the directory and get rid of the
slash trick.  It's miai.

Another option is to document that ls and ls -l are nonorthogonal for
reasons that are mysterious.  :-)

> This is a serious question.  The above is in exactly the order of your
> example.  What did you expect?  What was unclear?

Lemme throw that back at you!  Is this a ko?

> Bob Proulx <[EMAIL PROTECTED]>

Nice to meet you.

P.S. to others: atari, miai, and ko are just jokes for Bob; please ignore them.

Reply via email to