Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15850 > unrolled thread
| Started by | Roger <rogerx.oss@gmail.com> |
|---|---|
| First post | 2020-01-29 15:26 -0500 |
| Last post | 2020-01-29 15:26 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Preventing Bash Variable Confusion Roger <rogerx.oss@gmail.com> - 2020-01-29 15:26 -0500
| From | Roger <rogerx.oss@gmail.com> |
|---|---|
| Date | 2020-01-29 15:26 -0500 |
| Subject | Re: Preventing Bash Variable Confusion |
| Message-ID | <mailman.65.1580329599.2384.bug-bash@gnu.org> |
> On Wed, Jan 29, 2020 at 02:24:11PM -0500, Chet Ramey wrote: >On 1/29/20 2:05 PM, Roger wrote: > >> "Linux Shell Scripting with Bash." (Burtch) suggested using declare instead of >> local, due to local lacking the other switches declare provides. p262 (eg. >> declare can specify type of variable, such as integar only.) > > `local' accepts the same option set as `declare'. Got it. $ man bash -> builtin local: "The (local) option can be any of the options accepted by declare." -- Roger http://rogerx.sdf.org/
Back to top | Article view | gnu.bash.bug
csiph-web