From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] bug or a feature? From: andrey mirtchovski MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Wed, 12 Jun 2002 13:52:35 -0600 Topicbox-Message-UUID: aafa7bde-eaca-11e9-9e20-41e7f4b1d025 not to drag this any further, here's what the Rc paper has to say about globbing (section 4): A pattern is replaced by a list of arguments, one for each path name matched, except that a pattern matching no names is not replaced by the empty list; rather it stands for itself. somehow it seemed to me an empty list would be the proper way. as it was already said -- the current behaviour is a feature, not a bug > > i thought that version [6th ed] of glob announced 'no match' > > (which csh inherits) and bourne's sh was first to > > pass it through to the command as-is if no names matched. > > This is so. I just looked at the source. > I think the change was generally accepted > as an improvement, or at least neutral. > > Dennis