Sorry for the delay i answer you guys;
Well thank you so much!!
I have learned more than i expected to do.
I just woud like to ask osvaldomarques how his script works:
It seems to me that the shift command alone is able to cut one by one an argument from the list but if this were all the story the script
while [ "$#" != "0" ]
should work as well; but that's not the case.
Could you explain why?
Thanks a lot everyone again