zsh-workers
 help / color / mirror / code / Atom feed
From: "A. Wik" <aw@aw.gs>
To: Zsh hackers list <zsh-workers@sunsite.dk>
Subject: Quoting =(command)
Date: Sun, 26 Mar 2006 16:37:56 +0000 (GMT)	[thread overview]
Message-ID: <20060326161218.U67912@dynamite.narpes.com> (raw)


How do I quote the =(<commands>) syntax that returns a the
name of a temporary file containing the output of <commands>?

Example: star is an improved tar program that can take a list of
files to archive through the =<list> command-line parameter - in
this case, the list is to be generated by the find program:
    # star -cv f=etc-bak.tar -C / list==(cd / ; find ./etc -newer /tmp/mtime.ref)
    zsh: parse error near `)'

I briefly thought I had found a solution:
    # echo $(echo =(cd / ; find ./etc -newer /tmp/mtime.ref)) 
    /tmp/zshonheGz

However:
    # cat $(echo =(cd / ; find ./etc -newer /tmp/mtime.ref))
    cat: /tmp/zshioLLt3: No such file or directory

-aw


             reply	other threads:[~2006-03-26 16:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <aw@aw.gs>
2006-03-26 16:37 ` A. Wik [this message]
2006-03-26 18:37   ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060326161218.U67912@dynamite.narpes.com \
    --to=aw@aw.gs \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).