zsh-users
 help / color / mirror / code / Atom feed
From: Ray Andrews <rayandrews@eastlink.ca>
To: zsh-users@zsh.org
Subject: Re: empty pipes
Date: Mon, 12 Dec 2022 06:01:55 -0800	[thread overview]
Message-ID: <2182a97d-fe76-9f37-7f99-1f3b3564795a@eastlink.ca> (raw)
In-Reply-To: <CAH+w=7YcQ7-QbTvZLjk3=hCKweasrXJxwO6y8vZzaUGrvxjteA@mail.gmail.com>


On 2022-12-11 19:40, Bart Schaefer wrote:
>
> That's why you have e.g. ${filter:-cat}.
>
Works.  Interesting that property 'cat' has of doing nothing there but 
politely moving the stream forward.  I don't recall ever using that 
construction before but the sweet thing is that I now know where to look 
for information about it.  Such wealth in the parameter expansions.  BTW 
thanks to our previous discussions concerning 'tree' I already know that 
my $filter must be an array quoted so as to present the correct 
invisible structure.  Easy once you understand the issue.

BTW, do we have hard spaces? In certain columnizing situations an empty 
field is a problem so a field of hard spaces would hold the position 
while showing nothing.




  reply	other threads:[~2022-12-12 14:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-12  3:17 Ray Andrews
2022-12-12  3:40 ` Bart Schaefer
2022-12-12 14:01   ` Ray Andrews [this message]
2022-12-13  2:04     ` Bart Schaefer
2022-12-14 13:05       ` Are there zsh error message explanation Xiao Ling XL Chen
2022-12-15 21:18         ` Daniel Shahaf
2022-12-16  3:28           ` Bart Schaefer
2022-12-16  3:53             ` Ray Andrews
2022-12-16  4:07               ` Bart Schaefer
2022-12-16 14:16                 ` Ray Andrews
2022-12-16 12:47             ` Daniel Shahaf
2022-12-16 14:00               ` Ray Andrews
2022-12-16  1:17       ` empty pipes Ellenor Bjornsdottir

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=2182a97d-fe76-9f37-7f99-1f3b3564795a@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).