Re: [PATCH] t5570: forward git-daemon messages in a different way
- From
Clemens Buchacher <drizzd@aon.at>
- Date
- Apr 14, 2012, 12:21 UTC
- Message-ID
- <20120414122127.GA31220@ecki>
- In-Reply-To
- <20120414121358.GA26372@ecki>
On Sat, Apr 14, 2012 at 02:13:58PM +0200, Clemens Buchacher wrote:
> > In order to better understand the problem on your side, can you execute > this script and tell me what it does for you?
Oops, this is what I really wanted:
#!/bin/sh
mkfifo fd
yes >fd &
pid=$!
{
read line
echo $line
cat <fd &
} <fd
sleep 1
kill $pid
wait $pid
rm -f fd