kvancamp@ardc.arpa (LCWSL) (12/10/85)
Thanks to all of you who responded to my question about stopping buffering of the tee command (so I could see my output at the same time I echo it to a file). A few suggestions I got were: 1.) Use script. This sounds like it would do the job, but my Masscomp system doesn't have this. 2.) xxx | tee something | cat -u where the -u should force it to be unbuffered. This doesn't seem to work. 3.) Put /dev/null as one of the tee arguments, also to force buffering. I interpreted this as: xxx | tee /dev/null | tee something This, too, doesn't seem to work. The fourth reply I got was from someone who said that what I wanted is impossible because the buffering is inherent in the system (i.e., it isn't the fault of tee because tee already works on only one byte at a time). Does anyone have any other suggestions? Do you know how I can get a copy of script, without violating any copyright laws; or can someone at least point me in the right direction on how to write one? Any help would be appreciated. Please respond directly to me as I do not subscribe to the group. Thanks in advance. Ken Van Camp <kvancamp@pica-lca.arpa>