Basic model for a stream processor
Posted to
tcl
by dkf at Thu Feb 25 11:03:31 GMT 2010
view raw
proc
process {in} {
return
"processed results from
$in
go here"
}
while
{[
gets
stdin line] >= 0} {
puts
stdout [process
$line
]
}
exit
Recent Posts
tcl by iobates
2 days ago
tcl by mookie
5 days ago
tcl by sebres
6 days ago
tcl by iobates
23 days ago
tcl by iobates
23 days ago
tcl by iobates
23 days ago
tcl by FLORENTIS
27 days ago
tcl by Florentis
27 days ago
tcl by schelte
33 days ago
tcl by iobates
33 days ago
Submit
New paste
Documentation
From Jabber