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

Process substitution



On Oct 6, 10:24am, Sven Wischnowsky wrote:
}
} Note to workers: in the info file, >>(foo) is shown as `> >(foo)'. Urgh.

That -is- the way it's parsed.  It works just fine to write it that way.

The nice thing would be if there were a way to wait for those jobs to
complete.  They run in the background (as they must, really) but they're
not entered into the job table.

BTW, it's fairly easy to get zsh to forget to delete a file created with
=(...).  Compare:

	cat <<<'bar' =(echo foo)		# temp file removed
	echo bar >> =(echo foo)			# temp file removed
	cat <<<'bar' >> =(echo foo)		# temp file remains

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author