Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: outputting quotes in a command



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