Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: outputting quotes in a command
- X-seq: zsh-users 12291
- From: Eric Smith <es@xxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxxxxx>
- Subject: Re: outputting quotes in a command
- Date: Wed, 5 Dec 2007 10:21:40 +0100
- In-reply-to: <200712041309.lB4D9nrk006237@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20071204124228.GA31450@xxxxxxxxxxxx> <200712041309.lB4D9nrk006237@xxxxxxxxxxxxxx>
Thanks Peter
>
> print -r "mutt -f" ${(q):-foo} -e "'push \"<limit> ~f" ${(q):-bar} \
> "~d <2w'\$'\\r\"'"
>
> That's really quite hairy: you're outputting
>
> mutt -f foo -e 'push "<limit> ~f bar ~d <2w'$'\r"'
>
This works fine when writing the command to a file and then
executing that file with zsh.
I would prefer to directly execute the resulting command.
How would I achieve this?
ciao
Eric
Messages sorted by:
Reverse Date,
Date,
Thread,
Author