Skip to content

Instantly share code, notes, and snippets.

@smaudet
Created August 11, 2017 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smaudet/66c1a2cd2aa32c4acbce70872cea6154 to your computer and use it in GitHub Desktop.
Save smaudet/66c1a2cd2aa32c4acbce70872cea6154 to your computer and use it in GitHub Desktop.
#!/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