doc/share/tools/prstats/cut.tcl
Hiroki Sato 282a032540 - Remove junk directories.
- Repocopy from www/<lang> to head/<lang>/htdocs to eliminate duplicate
  information in the www and the doc directory.
- Add various administration files to svnadmin.
 
Approved by:	doceng (implicit)
2012-05-17 02:51:08 +00:00

15 lines
249 B
Tcl
Executable file

#!/usr/local/bin/tclsh8.3
#
# $FreeBSD$
#
set t [clock seconds]
set t0 [expr $t - [lindex $argv 0] * 86400]
set fi [open [lindex $argv 1]]
set fo [open [lindex $argv 2] w]
while {[gets $fi a] >= 0} {
if {[lindex $a 2] > $t0} {
puts $fo $a
}
}