Created
August 11, 2017 17:02
-
-
Save smaudet/66c1a2cd2aa32c4acbce70872cea6154 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env python | |
import sys | |
import os | |
import re | |
matcher = re.compile('^\^') | |
f = open(sys.argv[1],'r') | |
for line in f.readlines(): | |
if matcher.match(line) is None: | |
print(line) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment