Matthew Rosewarne on 13 Jan 2009 12:51:00 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Process substitution


On Tuesday 13 January 2009, Paul L. Snyder wrote:
> It has been quite a while since I've had a need to use process
> substitution, so it wasn't at the tip of my mind during the presentation
> tonight.  Here's a quick overview.  (Examples were tested in zsh, not
> bash.)

The innumerable users of fish can similarly do process substitution with 
"psub", which uses a named pipe by default or a temp file with -f.  The syntax 
is a little different, as commands are piped to psub, as in:

	diff (ls foo1 | psub) (ls foo2 | psub)

Attachment: signature.asc
Description: This is a digitally signed message part.

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug