|
From: | Øyvind 'bolt' Hvidsten |
Subject: | declare is no longer creating array variables |
Date: | Fri, 30 Jan 2015 12:13:41 +0100 |
User-agent: | Cathedral Secure Mail v0.8 |
Tested with shbot in #bash (freenode): 42# set -u; declare -a foo; echo ${#foo[@]} 0 43# set -u; declare -a foo; echo ${#foo[@]} bash: foo: unbound variable 43# set -u; foo=(); echo ${#foo[@]} 0 Is this a bug?
[Prev in Thread] | Current Thread | [Next in Thread] |