Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Printf builtin missing v flag support
- X-seq: zsh-workers 37475
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: Printf builtin missing v flag support
- Date: Fri, 1 Jan 2016 13:17:41 -0800
- 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:content-type; bh=nehx3VRMozWwC1BMpJvHHZe4L3GZAVTTqrrzZAn3Tcg=; b=HCHKEigNJEf16+Yl6bSVE1SKDwkb53nhj/dSPa4JMtGf65jX4i2wstb3pudB1R+yuV W++yD956dntn6y+nF6ocYwvjsQFQuFERwTDuwVtwlG7E97bm/gfeKXzkNIALiXBHi9b1 tEjMh+auG26ZgsMdqO+tsgd2UNaSuy1RUPSwR/j7N6I1GU55LQHFxjDtJq2HbXRIjojP smMOInyaJ/wx210lQYIeyPPuWCENv5U9qj36YPO/zQLy9Yd2tNjERfW298NefSe9j2h2 dLUl7NtBRXaFIsq+jDC7OIrj2uHyzGMo99zIyaK22o5NakVvu58Y+s64Di24fZPJlMfw Hk/Q==
- In-reply-to: <20160101184516.GB8456@chaz.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: <etPan.5684d3d1.74f2df6b.31ec@Ganymede> <etPan.5684d62f.51cb8f6f.31ec@Ganymede> <20160101184516.GB8456@chaz.gmail.com>
On Jan 1, 6:45pm, Stephane Chazelas wrote:
}
} ksh93 tries to only fork to execute external commands. For
} builtins when used in command substitutions, ksh93 just adds
} their output to the substituted value
If we identified early enough that the command was to be a builtin
(which I'm not sure we do) then the HAVE_OPEN_MEMSTREAM code from
bin_print() could be copied to somewhere in the getoutput() +
readoutput() flow.
Would probably require some other finagling in case we rely on the
fork for preservation of state.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author