I’m not a bash expert but my .bash_profile is packed with shortcut goodness to do all kinds of things on the quick. Most recently, I wondered how to fix up some of my function shortcuts to take any number of arguments (similar to this argument unpacking entry on how to do it in JavaScript and Ruby).

With a little Googling and IM’ing around to friends (thanks Bryan), my limited argument functions:

function sc {
        svn commit $1 $2 $3 $4 $5 $6               
}

now take an unlimited number of arguments:

function sc {
        svn commit $@               
}