Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!usc!orion.oac.uci.edu!ucivax!vahid From: vahid@vesta.ics.uci.edu (Frank Vahid) Newsgroups: comp.lang.c Subject: Wanted: string matching routine Message-ID: <2868E3EF.6133@ics.uci.edu> Date: 26 Jun 91 18:58:55 GMT Organization: UC Irvine Department of ICS Lines: 11 Nntp-Posting-Host: vesta.ics.uci.edu Hi. Does anyone have a routine which is similar to strcmp, but permits unix-type wildcard characters in at least one of the strings? For example, strmatch("abc*", "abcdefg") would return a value denoting a successful match. Thanks. Frank (vahid@ics.uci.edu)