What shell is that for, anyway? Bash doesn't like it as-is.
But bash does accept this version:

[ ! ! "${@:2:1}" = "." ] || echo

Cheers