From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Tolpin Message-Id: <200403191444.i2JEiHG9001765@adat.davidashen.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] ls, rc question -- proposed change to rc/glob.c In-Reply-To: Date: Fri, 19 Mar 2004 18:44:17 +0400 Topicbox-Message-UUID: 39c3db9c-eacd-11e9-9e20-41e7f4b1d025 > > None, they just walk through the directory they get. That's why I think those examples are not relevant. dirread semantics stays intact. globbing semantics should correspond to its definition. ls -l *.c and ls -l give different results now, without changes. The first form will list some entries twice. The second form will list each entry once, with some entries having the same name. I'm proposing to make the first form bring what it should. Namely, to bring every entry once. How displaying the first occurence of a file as many times as there are entries with the same name makes it similar or consistent with the second form, I really don't get. They are confusing now. The cause of the confusion is a bug in globbing. The bug should be fixed.