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

Re: join a string with a parameter value if it's not empy



> Is it possible to construct an array without a tmp parameter?

I can think of:

${(j:_:)${=:-$p string whatever else}}



--
Sent with HEY


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