zsh-workers
 help / color / mirror / code / Atom feed
* (s) splitting – is there any way to provide «dynamic» separator
@ 2014-10-09 15:00 Vasiliy Ivanov
  2014-10-09 21:14 ` Peter Stephenson
  2014-10-10  1:45 ` (s) splitting - is there any way to provid e "dynamic" separator Bart Schaefer
  0 siblings, 2 replies; 10+ messages in thread
From: Vasiliy Ivanov @ 2014-10-09 15:00 UTC (permalink / raw)
  To: zsh-workers

Hi,

Sorry if I (maybe) missed something obvious, but I failed to find a way to use separator from
parameter (e.g. a='1:2:3'; sep=':'; print -l ${(s.$sep.)a}).
I think this is because expansion/substitution are not available in flags? If so, is there any
another way for such a «dynamic» splitting?

-- 
Regards,
  Vasiliy Ivanov <beelzebubbie.logs@gmail.com>


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-10-13 10:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-09 15:00 (s) splitting – is there any way to provide «dynamic» separator Vasiliy Ivanov
2014-10-09 21:14 ` Peter Stephenson
2014-10-09 21:48   ` Mikael Magnusson
2014-10-10 18:26     ` Peter Stephenson
2014-10-13 10:30       ` Peter Stephenson
2014-10-10  1:45 ` (s) splitting - is there any way to provid e "dynamic" separator Bart Schaefer
2014-10-10  7:06   ` (s) splitting - is there any way to provide " Vasiliy Ivanov
2014-10-11  0:38     ` Han Pingtian
2014-10-11  3:31       ` Bart Schaefer
2014-10-11 11:52         ` 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).