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

Re: surprise with echo



On 12/18/2014 07:06 PM, Bart Schaefer wrote:
RC_EXPAND_PARAM (-P)
      Array expansions of the form `FOO${XX}BAR', where the parameter XX
      is set to (A B C), are substituted with `FOOABAR FOOBBAR FOOCBAR'
      instead of the default `FOOA B CBAR'.  Note that an empty array
      will therefore cause all arguments to be removed.
Nuts, at the time it didn't sink in that a function with no arguments matches
that situation ... and then I go on to suggest that very thing myself.
Pardon, that was thick headed. Still, it is a bit brutal. Nevermind, it's there
when needed.



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