Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!uvaarpa!ra!uvacs!aj3u From: aj3u@uvacs.cs.Virginia.EDU (Asim Jalis) Newsgroups: comp.unix.wizards Subject: Re: Flushing ShellScripts. Keywords: flush shell command Message-ID: <762@ra.cs.Virginia.EDU> Date: 17 Dec 89 03:56:59 GMT References: <758@ra.cs.Virginia.EDU> Sender: daemon@ra.cs.Virginia.EDU Reply-To: aj3u@uvacs.cs.Virginia.EDU (Asim Jalis) Organization: University of Virginia Computer Science Department Lines: 20 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.