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 florentis
2 days ago
tcl by torsten
5 days ago
tcl by Florentis
9 days ago
tcl by iobates
15 days ago
tcl by mookie
18 days ago
tcl by sebres
20 days ago
tcl by iobates
37 days ago
tcl by iobates
37 days ago
tcl by iobates
37 days ago
tcl by FLORENTIS
41 days ago
Submit
New paste
Documentation
From Jabber