-8 LOC, fixes the last_arg question
So today I sat down to read the source for this awesome little script and I saw a comment about lastarg, something in my pass got me googling for something I read a long time ago, and found it here http://tldp.org/LDP/abs/html/refcards.html#AEN21306, so here is a patch.
Please note I'm very new to shell but I think this does what you wanted.
PS: thank you very much for your tutorials I love them :)
PS2: first ticket!