Show More
@@ -31,7 +31,9 b' Add a merge with one parent in the same ' | |||||
31 | Miss perl... sometimes |
|
31 | Miss perl... sometimes | |
32 |
|
32 | |||
33 | $ cat > filter.py <<EOF |
|
33 | $ cat > filter.py <<EOF | |
34 | > import sys, re |
|
34 | > from __future__ import absolute_import | |
|
35 | > import re | |||
|
36 | > import sys | |||
35 | > |
|
37 | > | |
36 | > r = re.compile(r'^(?:\d+|pulling from)') |
|
38 | > r = re.compile(r'^(?:\d+|pulling from)') | |
37 | > sys.stdout.writelines([l for l in sys.stdin if r.search(l)]) |
|
39 | > sys.stdout.writelines([l for l in sys.stdin if r.search(l)]) |
General Comments 0
You need to be logged in to leave comments.
Login now