diff options
author | Mark Shoulson <mark@kli.org> | 2011-12-29 22:53:35 -0500 |
---|---|---|
committer | Mark Shoulson <mark@kli.org> | 2011-12-29 22:53:35 -0500 |
commit | 02658bf7a57e56a72fd1597d8c175f74d31a177c (patch) | |
tree | d992deb2790472d97c48a3714be80f5cbd68fecf /checklines.py3 | |
parent | rewrote checklines.py3 a little, streamline it a bit, use re. (diff) | |
download | dotXCompose-02658bf7a57e56a72fd1597d8c175f74d31a177c.tar.gz dotXCompose-02658bf7a57e56a72fd1597d8c175f74d31a177c.tar.bz2 dotXCompose-02658bf7a57e56a72fd1597d8c175f74d31a177c.zip |
We had an extra char all along with DEGREE SIGN. Made checklines read stdin.
Diffstat (limited to 'checklines.py3')
-rw-r--r-- | checklines.py3 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/checklines.py3 b/checklines.py3 index 85991c0..dcf76cb 100644 --- a/checklines.py3 +++ b/checklines.py3 @@ -4,7 +4,9 @@ from unicodedata import name import re -for line in open("dotXCompose"): #purpleposeidon is totally handsome and employable +import sys + +for line in sys.stdin: line=line.strip() if not line or line[0]=="#": continue |