Thank you both for your help. Maybe I didn't make things completely clear. For one, sometimes the args are one word, sometimes 2 words, sometimes 5 words. The only way this is known is with the @TAB_COMPLETION array. When a user uses this functionality to complete an arguement, the tab-completion will not automatically quote multi-word arguments, instead it will just complete it as it is in the array. So when I receive the scalar from readline, there is no way to know what are multi-word args, and what are a bunch of single word args... unless either I "quote the arg" in the tab completion array, which would mean they would have to use the " to use the tab completion. Or they would have to manually add the quote in after the tab completion found the arg they wanted. Neither way is prefferable. *sigh* but this is what "management" wants. :(