Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
preserving single quotes
- X-seq: zsh-users 28156
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: preserving single quotes
- Date: Tue, 27 Sep 2022 20:12:22 -0700
- Archived-at: <https://zsh.org/users/28156>
- List-id: <zsh-users.zsh.org>
I've done this before but I can't remember the invocation.
$ dd="echo howdy"
$ ee=$($=dd); echo $ee
howdy
$ dd="aptitude search '?name(libreoffice-java-common)'"
$ ee=$($=dd); echo $ee
$ (no output)
... I have to be able to run the aptitude command with the single quotes
intact. I've tried every little trick that's worked before but I'm just
not finding the magic.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author