Bug#606821: mksh process substitution

2011-11-26 Thread Thorsten Glaser
Jonathan Nieder dixit: >A common use of <(...) is to parse output from a command and let it >influence the current environment: > > while read key value We use coprocesses for that. >The "producer" command here could produce a potentially infinite >stream of output. I think this case is b

Bug#606821: mksh process substitution

2011-11-26 Thread Jonathan Nieder
Thorsten Glaser wrote: > apparently (from a #grml discussion in IRC), zsh has two: > > <(…) uses /dev/fd (or pipes, I guess) > =(…) uses temporary files (to aid applications to lseek on it) > > Maybe we should just take on the latter (reuse the heredoc > infrastructure) and make it available as <(

Bug#606821: mksh process substitution

2011-11-26 Thread Thorsten Glaser
Hi, apparently (from a #grml discussion in IRC), zsh has two: <(…) uses /dev/fd (or pipes, I guess) =(…) uses temporary files (to aid applications to lseek on it) Maybe we should just take on the latter (reuse the heredoc infrastructure) and make it available as <(…) (since nobody even knows abo