|
From: | Bill Gradwohl |
Subject: | Re: [Help-bash] array issue |
Date: | Sun, 19 Feb 2012 10:10:09 -0600 |
I'm stumped. Can anyone please explain this:
declare -a regex
echo highest subscript of regex=${#regex}
regex[${#regex}]='[_a-zA-Z0-9][[:alnum:]]*[[:blank:]]*()'
echo highest subscript of regex=${#regex}
Produces:
address@hidden junk# ./test
highest subscript of regex=0
highest subscript of regex=38
[Prev in Thread] | Current Thread | [Next in Thread] |