Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: z parameter expansion flag is broken?
- X-seq: zsh-workers 41658
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: z parameter expansion flag is broken?
- Date: Sat, 9 Sep 2017 15:45:05 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=4aeurOLn5ECzbMFI1OGLjdwk5LtgTdEOkk/A7Wkmra4=; b=MU8N3SblsV38VafGbQzF3DKdHAAtkcb9pC1NbTd40wbcR9EbFns0xL3ONp4FzkCRix Tgp3QGZJgWViZ8xMBCXJHVOxII2vuMFcOZGtrwe+EwV/cyD2pU132cQQc6O3+vKm/NEB ZCX+rXYqZykIPug2YA15a0nyEaO/iut+zN8Owy1+qAVULVKN9fPF0/FIYc1Ttue6xWnx 326iiooc964jQmX0loVlO4dKz5zU0iM4ok+J3/vvJQWEgKnsPhyQh0hA9oWat9Q62Agb lglqYbmyPLt55I1JkOAojnKK5Bb7P+y9ETpIzvFgxTh8U+XRpPYKWGcqtq4Nfv0Me0pj rG7g==
- In-reply-to: <170909095352.ZM8398@torch.brasslantern.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: <20170909.041303.1592547893142420542.ghostrevery@gmail.com> <170909095352.ZM8398@torch.brasslantern.com>
On Sep 9, 9:53am, Bart Schaefer wrote:
}
} That code in ingetc() is as old as the shell itself, so I have to assume
} that there's a good reason to discard token characters during lexing,
} and the problem is upstream with the recently-introduced code that
} more aggressively tokenizes hyphens ... though I don't understand why
} other tokens haven't similarly been adversely affected (or maybe I just
} haven't found how to get another token embedded in the string).
Is there similarly something broken about the (Z+c+) flag? Can somebody
show me an example where (Z+c+) and (Z+C+) produce different results?
(This is not new in zsh-5.4 though.)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author