Karl Berry wrote: > It's probably useful to add this functionality to all coreutil filters. > > Wouldn't it suffice to add buffer control options to cat, rather than > every program?
Unfortunately it's the middle of the pipeline that usually causes the buffering issues and so sticking a cat --un-buffered or whatever before of after a command will not suffice. > I still need to be convinced that glibc is not the correct place for > this. If it was there then any users of stdio could be controlled. > > Maybe so, but the chances of any such change actually getting into glibc > seem rather small in practice to me. Maybe a gnulib module, if someone > is volunteering to write the code :). Should be easy enough. I've already done the code, but I'm not sure about using environment variables for the interface. Need to think about it a bit more... cheers, Pádraig.