Am 27.09.2011 23:07, schrieb Patrick Proniewski:
> On 27 sept. 2011, at 20:18, Gabor Grothendieck wrote:
> 
>> gawk has fflush()
> 
> 
> On 27 sept. 2011, at 20:29, Roger Andersson wrote:
> 
>> stdbuf? unbuffer?
> 
> 
> none of them is available out of the box on Mac OS X, or FreeBSD.
> gawk can be installed, but I'd rather use my "while true" loop
> instead of installing gawk.

Well 'unbuffer' is a trivial Expect script, and expect IS available on
OS X out of the box...
http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/expect.1.html

See for the script:
http://expect.cvs.sourceforge.net/viewvc/expect/expect/example/unbuffer?revision=5.34&view=markup

Michael

-- 
Michael Schlenker
Software Architect

CONTACT Software GmbH           Tel.:   +49 (421) 20153-80
Wiener Straße 1-3               Fax:    +49 (421) 20153-41
28359 Bremen
http://www.contact.de/          E-Mail: m...@contact.de

Sitz der Gesellschaft: Bremen
Geschäftsführer: Karl Heinz Zachries, Ralf Holtgrefe
Eingetragen im Handelsregister des Amtsgerichts Bremen unter HRB 13215
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to