Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #11687
| Path | csiph.com!xmission!news.glorb.com!usenet.stanford.edu!not-for-mail |
|---|---|
| From | "Chris F.A. Johnson" <chris@cfajohnson.com> |
| Newsgroups | gnu.bash.bug |
| Subject | Re: Design question(s), re: why use of tmp-files or named-pipes(/dev/fd/N) instead of plain pipes? |
| Date | Sat, 17 Oct 2015 22:19:38 -0400 (EDT) |
| Lines | 25 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.531.1445134819.7904.bug-bash@gnu.org> (permalink) |
| References | <56218DA5.8030501@tlinx.org> <5622CDC8.2030102@case.edu> <5622EB23.6020700@tlinx.org> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | TEXT/PLAIN; charset=US-ASCII; format=flowed |
| X-Trace | usenet.stanford.edu 1445134819 8449 208.118.235.17 (18 Oct 2015 02:20:19 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| Cc | bug-bash <bug-bash@gnu.org>, chet.ramey@case.edu |
| To | Linda Walsh <bash@tlinx.org> |
| Envelope-to | bug-bash@gnu.org |
| DKIM-Signature | v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpcorp.com; s=a0-2; h=Feedback-ID:X-Smtpcorp-Track:Message-ID:Subject:To: From:Date; bh=LuqBvH2pD9oh2kyGFTCTGawf4W3xoUE8gVKHKZ70f0c=; b=IhS/lUO7fwNZVNe 0DPSZ0TQwZk0g05CMPNW4RN3CWP6fM4KbKQWAdhEa5UbxEA/xUqX37JCzsU4/NBzh0PRDTuqWsNBK 5sZvDEHDupe62tJsz9diFqX5DT1t6Rv8ZWWmbmkHAiEuI3R4vOSZqjYMqyLOi0lVItqT/ywzOXqX+ AIj/6YBV5/WBasqY6AuAqiB6ExYYEz8usjb9FUNPQvIrPFvjXVQbpPVd/LXyhlikUB3IxTM8yn+vm O5I5vTQgCdWwmQRanGzKHudZqGqkTjxtS39aVKdN3HCWc+RbG1kxfJ+GQrwJ4CqNCds0dvkZQApqC rAHh072W0zfzX3hcN/Q==; |
| X-X-Sender | chris@chris.tor |
| In-Reply-To | <5622EB23.6020700@tlinx.org> |
| User-Agent | Alpine 2.10 (DEB 1266 2009-07-14) |
| X-Smtpcorp-Track | 1ZndZY4pkQOs16.mxHDbHPWC |
| Feedback-ID | 124612m:124612a-vpTX9:124612s8btrFR3SP:SMTPCORP |
| X-Report-Abuse | Please forward a copy of this message, including all headers, to <abuse@smtp2go.com> |
| X-detected-operating-system | by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] |
| X-Received-From | 43.228.187.104 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.14 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <http://lists.gnu.org/archive/html/bug-bash> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| Xref | csiph.com gnu.bash.bug:11687 |
Show key headers only | View raw
On Sat, 17 Oct 2015, Linda Walsh wrote: > Chet Ramey wrote: >> On 10/16/15 7:52 PM, Linda Walsh wrote: >> >>> As I mentioned, my initial take on implementation was >>> using standard pipes instead of named pipes (not having read >>> or perhaps having glossed over the 'named pipes' aspect). >> >> I think you're missing that process substitution is a word expansion >> that is defined to expand to a filename. When it uses /dev/fd, it >> uses pipes and exposes that pipe to the process as a filename in >> /dev/fd. Named pipes are an alternative for systems that don't support >> /dev/fd. > ----- > ??? I've never seen a usage where it expands to a filename and > is treated as such. Try this: echo <(cat /etc/passwd) -- Chris F.A. Johnson, <http://cfajohnson.com>
Back to gnu.bash.bug | Previous | Next | Find similar
Re: Design question(s), re: why use of tmp-files or named-pipes(/dev/fd/N) instead of plain pipes? "Chris F.A. Johnson" <chris@cfajohnson.com> - 2015-10-17 22:19 -0400
csiph-web