Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Index of element after width of characters
- X-seq: zsh-workers 37000
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [PATCH] Index of element after width of characters
- Date: Wed, 28 Oct 2015 12:38:31 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=dQuK4leK+MCjYdhpawdkxmuwaOdEIl6hO4lYmlxB66Q=; b=JiNI/1sEZMCXioJTx6q+rxp9mBgZfRKTShG3E5rBp5U3JcvBaLZItZ/tpEcCXf4V6U VqlcTUEe1XjiL8f3W1n3RHEef7oMavIiNHwgQMfsuraHEkumgi01SfQY9tRTTOruWBPO S91ziJEzxg9xb3QhmN58+T11WKtFCOzyYLfgvL2712+wLOVlmPu/8drg+xXC/iqLbwQs djGy5wEo7jlx/beUsncypIXG67pHb4tPgECvbVMVrZt//bIYI/j0/W2mGyXtgsUAet3X IbC1qjON2tSyc7Scr3BfVDI7zMrRYtdpwj/3u/WYqOMZAVyD8fUmdsrnfWGFtSsJxrk6 TCWw==
- In-reply-to: <CAKc7PVD=H+e9tyrVSM-TbwzFjKs=cAygNC0yzkO=uuNFEH7PjQ@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVC4LFGnBJau3gWuws3bTgc+zcnEE+o-B8ZmKEEWa8Kpog@mail.gmail.com> <CAH+w=7b1RQDPWw0u7NSDs9wdxC-rCQYvyXadKCd1pdNXEdFuXA@mail.gmail.com> <CAKc7PVCGFJSZbiHDpJHivFco8J3SfHDesdjJoTzAY-sR4K5++w@mail.gmail.com> <CAKc7PVD=H+e9tyrVSM-TbwzFjKs=cAygNC0yzkO=uuNFEH7PjQ@mail.gmail.com>
After thinking this through I would want to use "<", ",", ">". Could I
allocate those symbols? Very mnemonic and nice, the use would be
${(<:10:)a}, ${(,:10:)a}, ${(>:10:)a} for index before width, index at
width, index after width. I checked that they work with parser.
PS. The code works in D07multibyte.ztst, so the tests issue is solved.
Best regards,
Sebastian Gniazdowski
Messages sorted by:
Reverse Date,
Date,
Thread,
Author