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 colin
9 hours ago
tcl by aspect
1 days ago
tcl by saedelaere
1 days ago
tcl by saedelaere
1 days ago
tcl by andrewsh
3 days ago
tcl by APN
4 days ago
tcl by saedelaere
4 days ago
tcl by colin
14 days ago
tcl by daapp
15 days ago
tcl by dogeen
15 days ago
Submit
New paste
Documentation
From Jabber