[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Settinp numeric variables
From: |
Alex fxmbsw7 Ratchev |
Subject: |
Re: Settinp numeric variables |
Date: |
Mon, 23 Aug 2021 00:47:18 +0200 |
declare without -g makes all local
-i is for int yes, i dunno much of its advantages tho
On Mon, Aug 23, 2021, 00:42 hancooper via <help-bash@gnu.org> wrote:
> What is the customary way of declaring a numeric variable. The question
> also relates to the definition of
> local variables. Have encountered the use of `declare -i y=10` but am
> unsure how this relates to local variables.