What does this do in bash: [@]?

Little Girl littlergirl at gmail.com
Fri Jul 29 16:16:44 UTC 2022


Hey there,

Bo Berglund wrote:

>What I do not know is what the [@] in "${URL[@]}" does???
>
>Where can I read bout this?

The accepted answer on this page does a great job of demonstrating
the difference between the way [@] and [*] treat the data:

https://unix.stackexchange.com/questions/135010/what-is-the-difference-between-and-when-referencing-bash-array-values

-- 
Little Girl

There is no spoon.




More information about the ubuntu-users mailing list