[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash questions



On Wed, Aug 05, 1998 at 12:00:47AM -0700, Guy Maor wrote:
> cdulrich@ucdavis.edu (Chris Ulrich) writes:
> > echo $[3+5]
> 
> This is the old, unsupported, way of doing an arithmetic expressions.
> This should be changed to `$((3+5))'.  File a bug.
> 
> 
> Guy

If you want to use sh instead of bash, then try:

  echo `expr 3 + 5`

-- 
Lee Bradshaw                 lee@sectionIV.com (preferred)
Alantro Communications       lee@alantro.com


Reply to: