Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: parameter and quoting (was: Re: Completion problems.)



On Aug 5,  2:19pm, Sven Wischnowsky wrote:
} Subject: PATCH: parameter and quoting (was: Re: Completion problems.)
}
} 
} Bart Schaefer wrote:
} 
} > On Aug 4, 11:37am, Sven Wischnowsky wrote:
} > 
} > I think (2) would be quite useful in other contexts anyway.  Perhaps (Q)?
} > (And we could add (q) which means the same as :q, just for completeness.)
} 
} The patch below tries to do that in the simplest way I could think of.

Hrm.  One problem which may not even be worth mentioning is that

	${(Qq)param}	acts like ${(q)param} and
	${(qQ)param}	acts like ${(Q)param}

whereas other "inversions" like using (j///s///) always both happen and
always happen in the same order regardless of the order in which the flags
appear.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



Messages sorted by: Reverse Date, Date, Thread, Author