bug-bash
[Top][All Lists]
Advanced

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

Re: bash man page needs more examples...(i.e. >0)


From: Chet Ramey
Subject: Re: bash man page needs more examples...(i.e. >0)
Date: Mon, 30 Jan 2012 14:21:55 -0500

> > OK.  How about if that sentence began with `When specifying n, the
> > digits greater ...'?
> 
> declare -i foo; foo=20#a2; echo "$foo"
> 202
> 
> [base#]n, 'base' is a INTEGER 2-64, then '#', followed by the number.

How is `INTEGER' any clearer?  Integer constants can be specified as octal
or hex.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]