Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!zephyr.ens.tek.com!uw-beaver!uw-june!wolf.cs.washington.edu!slh From: slh@wolf.cs.washington.edu (Scott Heyano) Newsgroups: comp.lang.c Subject: Re: wildcard matching Message-ID: <14267@june.cs.washington.edu> Date: 2 Jan 91 18:23:08 GMT References: <4739.277BA2FB@urchin.fidonet.org> <579@cadlab.sublink.ORG> Sender: news@cs.washington.edu Reply-To: slh@wolf.cs.washington.edu (Scott Heyano) Organization: Computer Science & Engineering, U. of Washington, Seattle Lines: 14 In article <579@cadlab.sublink.ORG> staff@cadlab.sublink.ORG (Alex Martelli) writes: |Tony.Bielobockie@urchin.fidonet.org (Tony Bielobockie) writes: | [...] |>trailing the '*' character is ignored anyway, at least in MS-DOS, and |>OS/2. What need is there for further checking if a '*' character is |>encountered? Does that hold true in the UNIX would too? | |I know that MSDOS and OS/2 consider that, when typing "a*b" or "a*c", |the user was just being funny, and he _actually_ meant just "a*" in |either case... presumably the extra letter, or letters, having been |typed just to keep his or her fingers in exercise?-) | This is not true of OS/2.