|
From: | Alfred M. Szmidt |
Subject: | Re: expr --> problem with product functionality |
Date: | Mon, 22 May 2006 01:05:15 +0200 (CEST) |
GNU/Linux_box:/ # expr 10 / 2 5 GNU/Linux_box:/ # expr 10 * 2 expr: syntax error You need to escape the multiplication sign. Try: expr 10 \* 2 And try: echo expr 10 * 2 to see why it doesn't work (shell expansion) Cheers.
[Prev in Thread] | Current Thread | [Next in Thread] |