zsh-users
 help / color / mirror / code / Atom feed
* RC_EXPAND_PARAM and (s:string:)
@ 2012-10-11  8:55 Han Pingtian
  0 siblings, 0 replies; only message in thread
From: Han Pingtian @ 2012-10-11  8:55 UTC (permalink / raw)
  To: zsh-users

Hello,

I just found this:

% zsh -c 'setopt rcexpandparam ;line="one::three";print -l "${(s.:.)line}"'
one

three
%

According to manpage of zshexpn, the empty elements of arrays which
generated by splitting won't be retained inside double quotes. But looks
like rcexpandparam can change this condition. Not sure if this is a
problem.

Thanks in advance.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-11  9:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-11  8:55 RC_EXPAND_PARAM and (s:string:) Han Pingtian

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).