Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Can you loop in math mode?
- X-seq: zsh-users 24158
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>, Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Can you loop in math mode?
- Date: Mon, 19 Aug 2019 08:43:39 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=9jO8DqUf0wIVSlDToAhdDLGT6PpWggAnJGp6Dg6Dppc=; b=gilIJd+5CpwqZ6UXzkf5EjkqbqTzM5VICh0Z4Pagp51KnPXIdQbxHB/KYTHIC6YfnX iOkuz1wnNTHOuZSd6w5lBRHluh0mI81UfbWRvWKPmK1plVpwrLu4OCLdofS6q8/7HqOD xBMHGwQe2DSJ4sK4KA3C0IQ6tDFE2SBT8yBKfPFpYKm68S3P4LD4WLAHNq/tOM+CYepR OOR4Mk8DdyrEhFqJkXKoDy5Ztpm0q5YiKqTpi4IHc4268pPhSPl72SNRUFSniXZLI0Xc 6YfM3AS8Bo3YWqSMxx9rP5dukYRV7oMjDa6CcCjApMQObRl9IfRqsgPVHq6oScCSmzmq g4hQ==
- In-reply-to: <CAKc7PVDO5PecrA43B8fG96V+i0MZOFzs_RGjVP8myWhCuPpFwQ@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVDnSqZMpQz=8L5b+SijziN1aUYkm0C-Pv3FMSVy-mg_0Q__8285.33232431568$1566173873$gmane$org@mail.gmail.com> <20190819062028.dkewms2nxt37o4te@chaz.gmail.com> <CAKc7PVDO5PecrA43B8fG96V+i0MZOFzs_RGjVP8myWhCuPpFwQ@mail.gmail.com>
On Mon, 19 Aug 2019 at 08:41, Sebastian Gniazdowski
<sgniazdowski@xxxxxxxxx> wrote:
> lines_lengths=( ${lines_lengths[@]/(#m)*/$(( sum += ${#MATCH}+1 ))} )
The line should say:
lines_lengths=( ${lines[@]/(#m)*/$(( sum += ${#MATCH}+1 ))} )
> : ${lines_lengths[@]/(#m)*/$(( append(${#MATCH}) ))}
The same – the line should say:
: ${lines[@]/(#m)*/$(( append(${#MATCH}) ))}
Messages sorted by:
Reverse Date,
Date,
Thread,
Author