tblancher's timetracker timekeeping system
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
309 B

import fileinput
import math
import re
import sys
import time
empty = re.compile("^\s*$")
delim = re.compile(":\s{2}")
stripped = {}
for line in fileinput.input():
if empty.match(line):
print line
stripped = delim.split(line.strip())
print len(stripped)