From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from po5.andrew.cmu.edu ([128.2.10.105]) by archone.tamu.edu with SMTP id <18890>; Fri, 10 Jan 1992 15:18:14 -0600 Received: by po5.andrew.cmu.edu (5.54/3.15) id for rc@archone.tamu.edu; Fri, 10 Jan 92 15:46:35 EST Received: via switchmail; Fri, 10 Jan 1992 15:46:34 -0500 (EST) Received: from sherlock.bh.andrew.cmu.edu via qmail ID ; Fri, 10 Jan 1992 15:46:04 -0500 (EST) Date: Fri, 10 Jan 1992 14:45:58 -0600 From: "Julian L. Ho" Subject: file globbing on command names To: rc@archone.tamu.edu Message-Id: <695075883.4747.0@sherlock.bh.andrew.cmu.edu> (from the rc man page: PATTERN MATCHING There are two forms of pattern matching in rc. One is traditional shell globbing. This occurs in matching for file names in argument lists: command argument argument ... When the characters *, [ or ? occur in an argument, rc looks at the argument as a pattern for matching against files. ) rc 1.2 seems to glob commands as well as arguments. either it or the man page needs changed... the man page seems to say that if I have an executable at the front of my path named 'echo?', i can type: echo? foo bar to run it... but this isn't so if there is a file named 'echox' in the current directory... rc behaves as if I had typed 'echox foo bar'. -J