On Thu, Aug 03, 2000 at 05:17:42PM +1000, Adrian van den Dries wrote:
> >From the man page:
>
> numbers take the form [base#]n, where base is a decimal
> number between 2 and 36 representing the arithmetic base,
>
> octal, so break if they are > 07. I can't seem to use any sort of
> '[10#]`cut..`' or '[10#]$var'..
$[10#$var]
('$[...]' being arithmetic context)
Conrad.
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug
- [SLUG] bash (v1) arithmetic Adrian van den Dries
- Re: [SLUG] bash (v1) arithmetic Conrad Parker
- Re: [SLUG] bash (v1) arithmetic Ken Yap
