I'm not familiar with the semantics of the "-@" in the bash script snippet below, which is from /etc/bash_completion.d/subversion. I'm trying to understand why bash reports "syntax error near unexpected token '(' on this line, I have two questions:
- What is "-@()" expected to do here?
Why might bash be unhappy with this statement?
case $prev in # other cases omitted -@(F|-file|-targets)) _filedir return 0; ;; # other cases omitted esac