Would somebody please explain?
Ed Otto
edotto at ux1.cso.uiuc.edu
Mon Apr 22 13:17:54 AEST 1991
rouben at 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 at uipsuxb.ps.uiuc.edu *
* University of Illinois * edotto at uiucux1.cso.uiuc.edu *
* Printing Services Office * UIPSA::OTTO (Decnet node 46.99) *
* 54A E. Gregory Dr. * otto at 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 at uipsuxb.ps.uiuc.edu *
* University of Illinois * edotto at uiucux1.cso.uiuc.edu *
More information about the Comp.unix.questions
mailing list