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

Re: Counting characters in command output?



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