Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uwm.edu!lll-winken!iggy.GW.Vitalink.COM!widener!news.cs.indiana.edu!ux1.cso.uiuc.edu!edotto From: edotto@ux1.cso.uiuc.edu (Ed Otto) Newsgroups: comp.unix.questions Subject: Re: Would somebody please explain? Message-ID: <1991Apr22.031754.13519@ux1.cso.uiuc.edu> Date: 22 Apr 91 03:17:54 GMT References: <1991Apr21.001702.5661@umbc3.umbc.edu> Organization: University of Illinois at Urbana Lines: 33 rouben@math16.math.umbc.edu (Rouben Rostamian) writes: >The command: > expr "Match" : "Ma" >returns 2, as it should, since the first two characters of "Match" and "Ma" >coincide. Now, would somebody please explain why the command: > expr "match" : "ma" >complains of a "syntax error"? Weird...It wouldn't work with ANY lower case characters EXCEPT with a capital letter in the front of the strings... I wanna know, too! ******************************************************************************* * * Netmail addresses: * * Edward C. Otto III * edotto@uipsuxb.ps.uiuc.edu * * University of Illinois * edotto@uiucux1.cso.uiuc.edu * * Printing Services Office * UIPSA::OTTO (Decnet node 46.99) * * 54A E. Gregory Dr. * otto@uipsa.dnet.nasa.gov * * Champaign, IL 61820 * Office phone: 217/333-9422 * * * * ******************************************************************************* "As knowledge is to ignorance, so is light unto the darkness." --- GO 'PODS! --- -- ******************************************************************************* * * Netmail addresses: * * Edward C. Otto III * edotto@uipsuxb.ps.uiuc.edu * * University of Illinois * edotto@uiucux1.cso.uiuc.edu *