bobbyiliev/introduction-to-bash-scripting

Bug: 008 bash Array.md

vipul-2003 opened this issue · 3 comments

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
image

Correct Way of Writing 👍

echo ${#my_array}  --this will print the number of elements in my array 

Attached Screenshot (for sake of proof)

image

please assign this to me , i will fix accordingly ...

Thanks you ❤️

Hi there @vipul-2003

Thank you for this report! I just assigned you to the issue!

have a look @bobbyiliev 👀

Thank you! Just commented under the PR and will close this issue.