trouble with expr

Unknown Unknown at stcns3.stc.oz
Tue Mar 8 12:38:44 AEST 1988


In article <717 at yabbie.rmit.oz> radjg at yabbie.rmit.oz (Jordan Green) writes:
>I have been trying to use expr(C) to do some integer manipulation and find
>that I cannot get the multiplication to work.
>
>expr 2 * 3
>
>simply returns
>2 * 3
>
>All the other arithmetical functions seem to work so what am I doing wrong with the multiplication?
>
That's the clue.  At a guess, I'd say you need to escape the "*" from the shell.

-- 
Dave Horsfall (VK2KFU)      ACS:  dave at stcns3.stc.OZ.AU
Alcatel-STC Australia       ARPA: dave%stcns3.stc.OZ.AU at uunet.UU.NET
11th Floor, 5 Blue St       UUCP: {enea,hplabs,mcvax,uunet,ukc}!\
North Sydney NSW 2060 AUSTRALIA    munnari!stcns3.stc.OZ.AU!dave



More information about the Comp.unix.xenix mailing list