trouble with expr

Tim Evans tkevans at fallst.UUCP
Tue Mar 8 21:49:14 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
> 
Backslash the "*"--as in
	expr 2 \* 3

(The shell is interpreting the asterisk as a normal shell metacharacter)

				Tim Evans



More information about the Comp.unix.xenix mailing list