zsh-users
 help / color / mirror / code / Atom feed
From: Ray Andrews <rayandrews@eastlink.ca>
To: zsh-users@zsh.org
Subject: Re: (j.|.)
Date: Tue, 31 Jan 2023 11:13:54 -0800	[thread overview]
Message-ID: <0810ab9b-ba5d-5b0c-1d63-a307573f1d22@eastlink.ca> (raw)
In-Reply-To: <CAN=4vMp3N5_quZCOnUnv5LufY4WWc3ZX=pY3pqOWGHdpTLUJ7A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 599 bytes --]


On 2023-01-31 10:10, Roman Perepelitsa wrote:
> print -r -- ${(j.|.)@}
>
Ah!  I tried printing everything but that -- the obvious thing. Ok, so 
the multiple args are converted to one string with bars between and 
somehow that ends up as an array of space-separated args in '@'.  I 
think I'm missing something important, I can't recall any such thing 
with bars like that.  zsh knows that the pattern expands to parameters 
too, I'm ... I guess the pattern isn't expanded until we know were 
within the $parameters ... yeah, so that's fine.  But I'd better get 
this 'bars' thing straight.




[-- Attachment #2: Type: text/html, Size: 1647 bytes --]

  reply	other threads:[~2023-01-31 19:14 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-31 16:38 (j.|.) Ray Andrews
2023-01-31 16:41 ` (j.|.) Roman Perepelitsa
2023-01-31 16:49   ` (j.|.) Ray Andrews
2023-01-31 17:50     ` (j.|.) Ray Andrews
2023-01-31 18:10       ` (j.|.) Roman Perepelitsa
2023-01-31 19:13         ` Ray Andrews [this message]
2023-01-31 20:19           ` (j.|.) Roman Perepelitsa
2023-01-31 21:50             ` (j.|.) Ray Andrews
2023-01-31 23:33               ` (j.|.) Lawrence Velázquez
2023-02-01  0:21                 ` (j.|.) Ray Andrews
2023-02-01  1:33                   ` (j.|.) Lawrence Velázquez
2023-02-01  1:59                     ` (j.|.) Ray Andrews
2023-02-01  2:14                       ` (j.|.) Ray Andrews
2023-02-01 22:47                         ` (j.|.) Ray Andrews
2023-02-02  0:43                           ` (j.|.) Lawrence Velázquez
2023-02-02  1:21                             ` (j.|.) Ray Andrews

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0810ab9b-ba5d-5b0c-1d63-a307573f1d22@eastlink.ca \
    --to=rayandrews@eastlink.ca \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).