What does this do in bash: [@]?

ubuntu at howorth.org.uk ubuntu at howorth.org.uk
Fri Jul 29 16:04:15 UTC 2022


bo.berglund at gmail.com wrote:
> I am trying to understand the working of a script example I am trying
> to adapt but cannot think up a useful google search command to get to
> a description....
> 
> In the script there is this:
> 
> URL=('https://tokens.somesite.com' + long stretch of arguments)
> 
> Then later:
> INPUT=$(curl -qsS "${URL[@]}"  | some processing stuff)
> 
> What I do not know is what the [@] in "${URL[@]}" does???
> 
> Where can I read bout this?

man bash and search within for [@] ?

> -- 
> Bo Berglund
> Developer in Sweden
> 
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list