From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <000b01c40dc7$b8df6e40$1602a8c0@bl.belllabs.com> From: "david presotto" To: <9fans@cse.psu.edu> References: Subject: Re: [9fans] ls, rc question -- proposed change to rc/glob.c MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Date: Fri, 19 Mar 2004 10:34:08 -0500 Topicbox-Message-UUID: 39e099da-eacd-11e9-9e20-41e7f4b1d025 I would be most disturbed if 'ls' and 'ls *' returned different numbers of entries. The fact that 'ls -l' and 'ls -l *' show different properties bothers me less. I see it as a failure of ls and not globing. However, requiring ls to read the whole directory every time seems silly. I wouldn't mind if the kernel threw out the unreachable entries when you read a directory. However, I don't think its worth the effort or the likely bugs. This is what I would change, if anything since it is the source of the problem and 'fixing' it in rc just makes rc and globing in general odd.