Filtering output of tail in with Python
A simple filtering script that looks pretty much like
import sys
for line in sys.stdin:
print line
doesn't print anything if output of tail -f piped through it but works
fine with output of cat. grep however has no problems with tail -f so I
guess I should somehow change the way the script handles input.
No comments:
Post a Comment