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

Re: coloring substitution seems to eat next line.



On Fri, Nov 11, 2022 at 1:26 PM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> On 2022-11-11 11:25, Bart Schaefer wrote:
> > Isn't that also true of a glossary?
> Not exactly.  The sort of thing I have in mind would be purpose built to
> explain zsh anatomy.  It would show you sample code and then 'dissect'

I've never heard the term "glossary" applied to something like that.

This is a glossary:
https://homepages.uc.edu/~thomam/Intro_Unix_Text/Glossary.html

But you seem to want something more like the whole book:
How about https://homepages.uc.edu/~thomam/Intro_Unix_Text/TOC.html

(Or at least everything from Chapter 9 and later.)

> recently the ':#' construction.  You won't have much luck googling for
> 'zsh'  ':#'

Indeed, search engine text indexing is lousy at short strings and punctuation.

> > Or you could look up "substitution"
> > where you find that for parameters it's usually called "expansion"
>
> Ah! So I was right the first time.

Substitution is a special case of expansion.  Globbing is also a
special case of expansion.  I was just trying to illustrate that the
index will get you to the general case from the specific.




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