[comp.unix.wizards] Flushing ShellScripts.

aj3u@ra.cs.Virginia.EDU (Asim Jalis) (12/15/89)

I have a shell driven program that takes a while to terminate. While it 
is possible to flush output from within the C code, the way the program
is written, the output still gets stuck in the shell-script and I can't
figure a way to force the shell to spew it out without the shell-script
terminating. I am not sure how clear I have been. Anyway, help would be
appreciated.

Asim.

aj3u@uvacs.cs.Virginia.EDU (Asim Jalis) (12/17/89)

In article <758@ra.cs.Virginia.EDU> aj3u@ra.cs.Virginia.EDU (Asim Jalis) writes:
>
>I have a shell driven program that takes a while to terminate. While it 
>is possible to flush output from within the C code, the way the program
>is written, the output still gets stuck in the shell-script and I can't
>figure a way to force the shell to spew it out without the shell-script
>terminating. I am not sure how clear I have been. Anyway, help would be
>appreciated.
>
>Asim.

Sorry folks. Ignore the above message. Sh doesn't need flush and the reason
my output was not showing was because there was a horrible little bug in the 
murky depths of my code. I am shamed and humbled. 

Besides, unix.questions was probably the more appropriate newsgroup anyway.

Again sorry for the trouble.

Asim.