!# used on command line

hi. i installed ack, and on the website, it says to run:

curl http://betterthangrep.com/ack-standalone > ~/bin/ack && chmod 0755 !#:3

now, what does the !#:3 mean? i'm guessing that it's referring to the 3rd argument on the command line, which in this case would be ~/bin/ack? is that correct?

thanks

That is correct

Note that this syntax is a Bash-ism and is not supported in many other shells

!# The entire command line typed so far. 
echo val1 val2 && echo full command is !# 2.val is !#:2
.......
.......
full command is echo val1 val2
full command is 2.val is val2

cool! thanks!