Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Bug with sh emulation; shouldn't KSH_TYPESET be set?
- X-seq: zsh-workers 30156
- From: Felipe Contreras <felipe.contreras@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Bug with sh emulation; shouldn't KSH_TYPESET be set?
- Date: Mon, 30 Jan 2012 22:21:52 +0200
- Cc: Felipe Contreras <felipe.contreras@xxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=lzOdjY7F8h9rjoRRyMVoPmejIbx7QBtboQC8kPPUH5k=; b=od15m5jejlmh647f97X8eWSIa543mi0obMoJ6E+jt9wUGEE1DbKRRYk1t24AcY/eqa Uyrzuf7nWPopSQ8aW0Mm9w1G4FlSVW3ax20EFSlvvLuKOWfeWba1WlPKHLYFTiJN1cDS zzUB0H1ftELErY7GxU+1QZJuVZYsnp9S3Eauk=
- 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
Hi,
This works on bash
---
_test ()
{
local t=$(echo foo --bar)
}
_test
---
But not in zsh, with sh emulation. Enabling KSH_TYPESET makes it work.
Shouldn't it be enabled with sh emulation?
BTW. What exactly is 'emulate sh' supposed to emulate? I would like to
run that shell to check for compatibility issues, and apparently it's
not bash.
Cheers.
--
Felipe Contreras
Messages sorted by:
Reverse Date,
Date,
Thread,
Author