Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15847 > unrolled thread
| Started by | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| First post | 2020-01-29 14:24 -0500 |
| Last post | 2020-01-29 14:24 -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 Chet Ramey <chet.ramey@case.edu> - 2020-01-29 14:24 -0500
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Date | 2020-01-29 14:24 -0500 |
| Subject | Re: Preventing Bash Variable Confusion |
| Message-ID | <mailman.61.1580325865.2384.bug-bash@gnu.org> |
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.) This is just wrong. `local' accepts the same option set as `declare'. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
Back to top | Article view | gnu.bash.bug
csiph-web