[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: not able to run epr command in UBUNTU's bash shell
From: |
Eric Blake |
Subject: |
Re: not able to run epr command in UBUNTU's bash shell |
Date: |
Sun, 24 Jan 2010 06:40:24 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
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 address@hidden
signature.asc
Description: OpenPGP digital signature