Subject: Re: cat(1) question: multiple "-"s
To: Chavdar Ivanov <ci4ic4@gmail.com>
From: Hubert Feyrer <hubert@feyrer.de>
List: netbsd-users
Date: 04/18/2006 16:53:12
On Tue, 18 Apr 2006, Chavdar Ivanov wrote:
> root@loan8>   cat - - - < /tmp/1 < /tmp/2 </tmp/3
>                                             /tmp
> 11111
> 22222
> 33333

Wow. How does that work?

I'm familiar with the concepts of stdio, stdin and eof, but
how does cat/zsh know when to attach the next file to the stdin file 
descriptor?


  - Hubert