> > Not 100% sure about this but it feels wrong. > > I think extcmds was already split by shell, > > so this eats escapes. > > The very purpose of that code is to "eat" escapes - the helper may > receive shell escaped input and we cannot use it for yum pattern > matching without undoing the escaping.
Well, 'complete -F' is... surprising. It splits the partial cmdline to find the first, last, and previous arguments, *using* the escapes. But it also keeps escapes in results.. very weird. So yes, we have to "split" it again. Thanks for the hint! _______________________________________________ Yum-devel mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum-devel
