Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Counting characters in command output?
- X-seq: zsh-users 29685
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: "Mark J. Reed" <markjreed@xxxxxxxxx>
- Cc: zsh-users@xxxxxxx
- Subject: Re: Counting characters in command output?
- Date: Fri, 16 Feb 2024 11:36:28 -0800
- Archived-at: <https://zsh.org/users/29685>
- In-reply-to: <CAA=-s3ywGNb=ysoVHOS_C93_6izrV6eQcFtqoz0w0wD3bKDN9w@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <CAA=-s3zUSg4KYSGTNVSi80u_=9C9kg8nk2CYx2Zewiu70rgSZQ@mail.gmail.com> <CAN=4vMrWzYgyGYghHsp1jEcnN=X+bUM8LDXviL4V+mHtnHpq8A@mail.gmail.com> <CAA=-s3z3dwdPY4ahJSOZZC7_vH5VwUJxt-UEo9BW=8qzu0WTSg@mail.gmail.com> <CAN=4vMp1gcSbE19cbKoW9JJMs_dVhedbOYrwZRVQjbuEg0rNqw@mail.gmail.com> <CAH+w=7brXaXfsCi5wXnYNZgZmKVqis6u3T3bPtQuqCHcbpnqKA@mail.gmail.com> <8fc8b27a-9f1b-4d7f-8865-cbf41cc7374e@app.fastmail.com> <CAH+w=7ZcF7PBYqktJCSXDrREqVQbZ9HSorvtRRXB8DZR2a5kWg@mail.gmail.com> <CAA=-s3ywGNb=ysoVHOS_C93_6izrV6eQcFtqoz0w0wD3bKDN9w@mail.gmail.com>
On Fri, Feb 16, 2024 at 10:38 AM Mark J. Reed <markjreed@xxxxxxxxx> wrote:
>
> Is it also the case that ${ command} runs in the current shell
Yes.
> I seem to recall seeing that syntax used that way before, but it may have been in a different shell.
It was in another shell ... ksh has had this for quite a while, bash a
bit more recently, mksh the ${| } variation. Dev version of zsh only
for a couple of months.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author