RE: Buffering problem in netcat server script

2012-09-11 Thread Sven Severus
Adam Dinwoodie wrote: > From `mad sed`: > > -u, --unbuffered > > load minimal amounts of data from the input files and flush the output > buffers more often > > If you add the -u option, sed will buffer less and write to the pipe more > often. I would guess this isn't the de

RE: Buffering problem in netcat server script

2012-09-11 Thread Adam Dinwoodie
Sven Severus wrote: > Question 1: > Why do I face different behaviour with "cat -n" and "sed s/e/E/g"? > Are there cygwin related reasons? > Which behaviour should I expect (I know there are buffering > mechanisms for stdout when not connected to a tty, so I tend to > say the buffering behaviour is