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: Pierre Gaston
Subject: Re: bash man page needs more examples...(i.e. >0)
Date: Mon, 30 Jan 2012 21:16:33 +0200

On Mon, Jan 30, 2012 at 9:02 PM, Linda Walsh <address@hidden> wrote:
>
>
> DJ Mills wrote:
>
>>> 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.
>
>
>
> ^^^ That's much more clear!

But then one could think that the integer 0xa is a valid base which is
not the case since it's not a decimal number



reply via email to

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