From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,7f1306836609a427,start X-Google-Attributes: gidfee84,public X-Google-Thread: 12f861,7f1306836609a427,start X-Google-Attributes: gid12f861,public From: mandar@mailhost.ecn.uoknor.edu (Mandar M. Mirashi) Subject: Re: Weird cd command? (Bug?) Date: 1995/10/17 Message-ID: <461c05$ln4@independence.ecn.uoknor.edu>#1/1 X-Deja-AN: 117678465 references: <45v1b9$nec@independence.ecn.uoknor.edu> organization: Engineering Computer Network, University of Oklahoma, Norman, OK, USA newsgroups: ecn.misc,comp.unix.osf.osf1 In article <45v1b9$nec@independence.ecn.uoknor.edu>, John Stephen Patrick wrote: >Well, the lousy typist I am, I recently mistyped the following: > >cd /usr/tm[ > >and it took it. 'pwd' gave: /usr/tmp > >Now, this OSF 3.2 (or whatever) recognizes the '[' character as the '?' >character. > >Hmm.... Where in POSIX compliance was this? > It's probably more the fault of the shell (and its globbing scheme) that you use. I assume you're using csh. I believe that brackets [] work in a similar fashion as in regexps, under csh. Kinda weird that it didn't bitch about a missing ]. Maybe ya found a bug with the csh that DEC supplies :-) Mandar -- Mandar Mirashi, | Std. Disclaimer: All opinions expressed Systems Support Programmer, | belong solely to myself and in no Engineering Computer Network| way reflect those of my employers. University of Oklahoma (OU).| mandar@uoknor.edu, Mmmm@alias.undernet.org