Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Awk > Re: where did o...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 5 Topic 2181 of 2236
Post > Topic >>

Re: where did output redirection go?

by Andrew Schorr <aschorr@[EMAIL PROTECTED] > Mar 9, 2008 at 07:26 PM

On Mar 7, 8:39 am, Janis <janis_papanag...@[EMAIL PROTECTED]
> wrote:
> Mind, the buffering is an OS issue, all the pipelines and external
> commands is a unix shell issue, and the option you presented is an
> tool specific issue (not even standardized), and the only awk'ish
> part of the posting is either trivial (print $4) or non-standard
> (fflush() seems not be defined by POSIX, according to the GNU docs).

Actually, this is not an O/S issue, it's a C stdio library
issue.  The gawk fflush call instructs the stdio library to
write out the data to the operating system kernel.  Once the kernel
has it, there's no more risk of losing the data.

Regards,
Andy




 5 Posts in Topic:
where did output redirection go?
Tomasz Chmielewski <tc  2008-03-07 10:32:10 
Re: where did output redirection go?
Janis <janis_papanagno  2008-03-07 02:36:03 
Re: where did output redirection go?
Tomasz Chmielewski <tc  2008-03-07 11:58:36 
Re: where did output redirection go?
Janis <janis_papanagno  2008-03-07 04:39:16 
Re: where did output redirection go?
Andrew Schorr <aschorr  2008-03-09 19:26:02 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 2:23:32 CDT 2008.