Bug: 008 bash Array.md
vipul-2003 opened this issue · 3 comments
vipul-2003 commented
Describe the bug
I was reading the book to revise my concepts , while revising i have noted that 008-bash array file has bug in .md file
my_array=("1""2""3""4""5")
echo ${#my_array[@]} --this will print only the first value not the total no. of elements
Explainig Syntax error with screenshot
Correct Way of Writing 👍
echo ${#my_array} --this will print the number of elements in my array
Attached Screenshot (for sake of proof)
please assign this to me , i will fix accordingly ...
Thanks you ❤️
bobbyiliev commented
Hi there @vipul-2003
Thank you for this report! I just assigned you to the issue!
vipul-2003 commented
have a look @bobbyiliev 👀
bobbyiliev commented
Thank you! Just commented under the PR and will close this issue.