bug#18567: strange tee behavior

2014-09-26 Thread Pádraig Brady
unarchive 11540 forecemerge 11540 18567 stop On 09/26/2014 10:53 AM, Karl Nordström wrote: > Hi, > > I have a small problem with tee, which could be exemplified by the > following code: > > wc -l largefile >> 235324 largefile > cat largefile |tee -i >(head > /dev/null) |wc -l >> 390 > > tee doe

bug#18567: strange tee behavior

2014-09-26 Thread Karl Nordström
Hi, I have a small problem with tee, which could be exemplified by the following code: wc -l largefile > 235324 largefile cat largefile |tee -i >(head > /dev/null) |wc -l > 390 tee doesn't forward the whole file but seems to stop when head don't read anymore. I thought the -i flag was supposed t