Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Evaluating parameters in general-purpose widgets
- X-seq: zsh-users 23098
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Subject: Re: Evaluating parameters in general-purpose widgets
- Date: Thu, 18 Jan 2018 22:27:54 -0800
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=z793NWAFEadaqf+Kkuo2/ZuP+mmJQvNs8Xm/lMQMmy0=; b=Merfk3qdkk08qJpRwetn+SSEc017/6o7/YP3Rpar7cKtCBIKEcl9o18DfIiIxKaZom 0W7Hs3Hu3DKyYNxBqQRs0y9vf3vgZPaIXRSMZcXgAzgcYkmX0KmiIK3JnAms6Tn9T4gm 5YoJHR7IGz7PhXeCNrwN6qHTmWfzBkmCDDqBc/IJHy4cdc4lmIdtvpVxVHJXyPmCOiY8 Zx8kFMMdazlJoLvd9OKzCsAa0c2ycR+9uPK/J8001v5uFcObcgoTSNlczIfrWqiRR0/m +U9rnIjNfFULwdAdOoXpSCh6AxVaEwqxQJaSvQyR+lOJvDqK1DKyx1AvKOgEPye+PUKq s/Bw==
- In-reply-to: <CAH+w=7Z85sfMpMvVkOWfFROU02e3UdOEO1UVBwR3cBideOVj4Q@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20180119002154.ssgbaowmrjvehme5@tarpaulin.shahaf.local2> <CAH+w=7Z85sfMpMvVkOWfFROU02e3UdOEO1UVBwR3cBideOVj4Q@mail.gmail.com>
On Thu, Jan 18, 2018 at 10:25 PM, Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> wrote:
> use "${$(print -nr -- "$foobar"X)#X}"
That should say %X of course. Also meant to point out that
adding/removing the trailing "X" is to force newlines to be kept in
$(...).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author