The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
STDOUT redirect to a FILE, when fuser command is used !! varungupta UNIX for Advanced & Expert Users 6 01-25-2008 05:51 AM
redirect stderr and/or stdout to /dev/null from command line knc9233 UNIX for Dummies Questions & Answers 1 01-25-2007 08:24 AM
changing col(1) command stdout as fully buffered? sunilsbjoshi HP-UX 0 06-09-2006 03:36 AM
changing col(1) command stdout as fully buffered? sunilsbjoshi UNIX for Advanced & Expert Users 0 06-09-2006 02:45 AM
Help capturing and reformatting buffered and unbuffered output vikingshelmut Shell Programming and Scripting 0 09-27-2005 11:27 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-09-2006
Registered User
 

Join Date: Jun 2006
Posts: 4
Thumbs up changing col(1) command stdout as fully buffered?

Hi All,

I am talking about unix col(1) command used for some reverse line filtering etc.
And I notice that the stdout of this command is line buffered i.e. the stdout will flush the data in its buffer line by line. So the number of writes performed by stdout are more.

So now if I make stdout as fully buffered it will reduce the write hits.

But if I do these changes I think there will some problems
-> when slow terminals use col(1) as command , then the turn around time will get reduce for it self.
eg: cat file | col -b | lp
Here lp will receive data in terms of buffer size but before it was receving in terms of each lines.

So can I change change col(1) command's stdout to fully buffered?

So do any of you know some more problems related with this change , and can I see some link about col(1) command design stating that it should be either line buffered or fully buffered etc.


Waiting for positive replay,
Sunil kumar.



--
Thanks & Regards,

Sunil Kumar S
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 06-09-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,419
This post is a duplicate. Please do not duplicate posts.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:17 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0