Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Weird backslash on expand-word on braces
- X-seq: zsh-workers 27701
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxx>
- Subject: Weird backslash on expand-word on braces
- Date: Fri, 12 Feb 2010 09:31:50 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=yT0KTwzD8aiH0kRTgz57nmh+mTqMJUI4VKJ91KelfbE=; b=xu9f+1MdwDmIXvuYUAyEjhj9YaLSOVKCmu7+2GUU0MhM4Wp2K8OHhvV1oLXELyG60Z embt0t3tsLOO3WtHuOP09fIu3aNPbA6aa2L/U7qP+hDUzdUXOtrVi8+b7pZa2hhFKH0r F69Ye9Oejnc1GGTGkKKf6hH0LuASqHNp3Kf6M=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=W1Auvf9aZRW3GYIJL+bze3Sf50q24isD8PtkxtZR/HVy7hJgrqveBfAkOry9bimr/K bjsJUr5P342tOz0N1djQwxddIp6lXlQIvTuEmtb92uQN2y+tUFfXwOwdN6jQvCmpzQEF 0rCiDJl66SHXJkGuxx102K/5lXDUfjdBAI06M=
- 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
{$((1))..$((3))}
Pressing tab pretty much anywhere except after the final } works and
gives {1..3} as expected, but at the final } it gives {1..3\}. Happens
in zsh -f with no compinit done too.
--
Mikael Magnusson
If anyone is wondering what I'm doing, I was experimenting with a
braceccl like function that works for multibyte,
% for a ({$(( ##a ))..$(( ##z ))}) { echo -n ${(#)a} }
abcdefghijklmnopqrstuvwxyz
% for a ({$(( ##â ))..$(( ##â ))}) { echo -n ${(#)a} }
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Just wanted to check that you can have $(()) inside {} and pressed tab.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author