Using multi-line sed scripts with Tcl exec
Posted to
tcl
by patthoyts at Wed Nov 11 13:07:49 GMT 2009
view raw
# Demo processing a ChangeLog file
foreach
author [
exec
sed -e {
/^[12].*@/{
s/^.*<//
s/>.*$//
p
}
d
} ChangeLog] {
incr
authors([
string
tolower
$author
])
}
parray authors
Recent Posts
tcl by egavilan
3 days ago
tcl by bch
9 days ago
tcl by Bradipo
9 days ago
tcl by aspect
9 days ago
tcl by Bradipo
9 days ago
tcl by Bradipo
10 days ago
tcl by Bradipo
10 days ago
lilypond by Bradipo
11 days ago
tcl by cgm
21 days ago
tcl by dandyn
30 days ago
Submit
New paste
Documentation
From Jabber