unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Davis Herring" <herring@lanl.gov>
To: "alin.s" <alinsoar@voila.fr>
Cc: emacs-devel@gnu.org
Subject: Re: open file and command substitution of bash
Date: Tue, 5 Jan 2010 09:08:24 -0800 (PST)	[thread overview]
Message-ID: <34431.130.55.118.19.1262711304.squirrel@webmail.lanl.gov> (raw)
In-Reply-To: <27025578.post@talk.nabble.com>

> R=mktemp; tee < <(ls) >${R} && emacs $R

Isn't that just a complicated way of saying

ls>$x && emacs $x

?  Even if your "<(ls)" is just a placeholder for some preexisting pipe
(maybe a FIFO or something), you could just do

cat <(ls) >$x && emacs $x

and lose the extra < before "<(ls)" too, since cat doesn't need it.

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.




      reply	other threads:[~2010-01-05 17:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-04 15:37 open file and command substitution of bash alin.s
2010-01-04 15:48 ` Davis Herring
2010-01-05  9:13   ` alin.s
2010-01-05 17:08     ` Davis Herring [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=34431.130.55.118.19.1262711304.squirrel@webmail.lanl.gov \
    --to=herring@lanl.gov \
    --cc=alinsoar@voila.fr \
    --cc=emacs-devel@gnu.org \
    /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.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).