forked from hummypkg/webif
57d4b60a8d
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif@168 2a923420-c742-0410-a762-8d5b09965624
10 lines
142 B
Plaintext
10 lines
142 B
Plaintext
|
|
if {[expr ! [exists -proc cat ]]} {
|
|
proc cat {file} {
|
|
if {[catch {set fp [open $file r]]}} { return }
|
|
puts [read $fp]
|
|
close $fp
|
|
}
|
|
}
|
|
|