From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <717f95a3cb2a4436801b897eb34e2a1c@collyer.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] ls, rc question -- proposed change to rc/glob.c From: Geoff Collyer In-Reply-To: <8fa6c9f34eddb63062fab1d09781f1cb@hamnavoe.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Fri, 19 Mar 2004 01:41:29 -0800 Topicbox-Message-UUID: 389a3ea0-eacd-11e9-9e20-41e7f4b1d025 But dmr's comment is talking about wildcard expansion ("filename generation" in sh-speak), not directory-reading. And his argument does make sense in that context. At minimum, you'd need to modify rc and ape/sh to suppress duplicates. Programs other than the shells read directories without expanding wildcards, and if not also changed would behave inconsistently with the shells. They are at least: acme, bitsy/keyboard, cron, du, exportfs, faces, gzip, listen, mk, mkfs, mothra, replica programs, srvold9p, tar, vac, and winwatch.