initial creation
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import fileinput
|
||||
|
||||
for line in fileinput.input(): # <1>
|
||||
if 'bird' in line:
|
||||
print('{}: {}'.format(fileinput.filename(), line), end=' ') # <2>
|
||||
Reference in New Issue
Block a user