From: Ray Andrews <rayandrews@eastlink.ca>
To: zsh-users@zsh.org
Subject: Re: comment block curiosity
Date: Mon, 4 Jan 2021 09:09:08 -0800 [thread overview]
Message-ID: <eda6fc7d-18b0-6845-a383-39f745bd9272@eastlink.ca> (raw)
In-Reply-To: <20210104061024.GA14783@tarpaulin.shahaf.local2>
On 2021-01-03 10:10 p.m., Daniel Shahaf wrote:
> Ray Andrews wrote on Sun, Jan 03, 2021 at 13:31:35 -0800:
>> Seems you can't use any characters that are special to the shell tho,
> You can, actually:
>
> % zsh -f =(print -rC1 -- 'alias -g "|&"=": <<EOC"' 'echo foo' '|&' 'echo bar' 'EOC' 'echo baz')
> foo
> baz
> %
That is an invocation only an Adeptus dare use!
> ... The lexer doesn't emit a token for comments ...
Is there some way of seeing lexer output? I'll bet many of my
confusions would be cured if I could just see my code the way zsh sees it.
next prev parent reply other threads:[~2021-01-04 17:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-03 17:09 Ray Andrews
2021-01-03 17:26 ` Bart Schaefer
2021-01-03 17:36 ` Ray Andrews
2021-01-03 17:43 ` Bart Schaefer
2021-01-03 18:30 ` Ray Andrews
2021-01-03 18:50 ` Bart Schaefer
2021-01-03 21:17 ` Ray Andrews
2021-01-03 21:31 ` Ray Andrews
2021-01-04 6:10 ` Daniel Shahaf
2021-01-04 17:09 ` Ray Andrews [this message]
2021-01-04 19:28 ` Bart Schaefer
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=eda6fc7d-18b0-6845-a383-39f745bd9272@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).