According to Ved Prakash Sonkar on 1/24/2010 5:26 AM:
> Hello GNU
> I am using UBUNTU's bash cell
> when I say
> $ expr 2+2
> its returning
> 2+2
> whats wrong

Nothing.  That's how expr is designed to run, and standardized by POSIX.
It only performs arithmetic if the operator appears as a separate
argument, as in:

$ expr 2 + 2
4

-- 
Don't work too hard, make some time for fun as well!

Eric Blake             [email protected]

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to