Here's a small Python script that should do the trick:
Code:import sys try: f = open(sys.argv[1]) lines = f.readlines() for line in lines: if len(line) == 4: # We also count newlines (\n) print line except Exception, e: print "Uncaught exception:", e


Reply With Quote
Im a happy camper now 
Bookmarks