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 Bradipo
59 mins ago
tcl by aspect
1 hours ago
tcl by Bradipo
2 hours ago
tcl by Bradipo
3 hours ago
tcl by Bradipo
4 hours ago
lilypond by Bradipo
1 days ago
tcl by cgm
11 days ago
tcl by dandyn
20 days ago
tcl by Stu
21 days ago
tcl by dandyn
23 days ago
Submit
New paste
Documentation
From Jabber