Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!ncar!boulder!yonder!michael From: michael@yonder.UUCP (Michael E. Haws) Newsgroups: comp.unix.xenix Subject: Re: expr broken ? Summary: Escape the asterisk Keywords: expr Message-ID: <415@yonder.UUCP> Date: 25 Aug 90 01:58:19 GMT References: <578@lafayet.UUCP> Distribution: na Organization: Redstone Enterprises, Lakewood, Co Lines: 12 In article <578@lafayet.UUCP>, rob@lafayet.UUCP (Rob Freyder) writes: > I am running SCO Xenix 386 2.3.3 ... expr gives a syntax error if you try > to use the * operator. example > > expr 5 * 2 Just a wild guess but I suspect the '*' needs to be escaped. Try expr 5 \* 2 -- Michael E. Haws "Keep the blue side up" w - (303) 986-2370 boulder!yonder!michael h - (303) 232-0628