Re: 'expr' command not working with option *

2005-08-12 Thread Bob Proulx
Eric Blake wrote: when i type expr 2 * 3 it is giving syntax error. This is turning into a FAQ; although the FAQ page at http://www.gnu.org/software/coreutils/faq/coreutils-faq.html doesn't mention expr by name, it does mention problems with * as a shell metacharacter, which needs to be

'expr' command not working with option *

2005-08-11 Thread Saran
To whom so ever it may concern.. Hi, I find that the expr command in my linux shell is not working for multiplying two arguments. please help me out how could i multiply two numbers in a shell and how could i use the command in my shell scripts.. when i type expr 2 * 3 it is giving syntax

Re: 'expr' command not working with option *

2005-08-11 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Saran on 8/11/2005 4:43 AM: To whom so ever it may concern.. Hi, I find that the expr command in my linux shell is not working for multiplying two arguments. please help me out how could i multiply two numbers in a shell and how