On Wed, Aug 19, 2009 at 10:03:04PM +0200, Roland Mainz wrote:
> #!/usr/bin/bsh
> mkfifo smoke_pipe
> tail -f smoke_pipe >/dev/null &
> cat chicken_monster.txt >smoke_pipe
> -- snip --
> 
> In theory the "tail -f" should never exit and therefore the exit code
> 141 for the "cat" line is something I don't understand...

Indeed, there should never be a broken pipe in that case unless there
were a bug in tail.

But I do see different behavior in ksh93 vs Bourne shell w.r.t. SIGPIPE
(see my previous messages).

Nico
-- 

Reply via email to