find . -type f -exec sh -c"fgrep print {} /dev/null |tail -1" ;
./tway.pl:print map(lambda x : x[1], filter(lambda x : x[0].startswith('volume'), globals().items()))
./txml.py: print("%s does not exist: %sn" % (host, error))
./utils.py:print combine_dicts(a, b, operator.mul)
./xml_example.py:print ET.tostring(root, method="text")
find . -type f -exec sh -c"fgrep print {} /dev/null" ;
给出:./tway.pl:print map(lambda x : x[1], filter(lambda x : x[0].startswith('volume'), globals().items()))
./txml.py: print("%s resolved to --> %sn" % (host, ip))
./txml.py: print("%s does not exist: %sn" % (host, error))
./utils.py:print"a", a
./utils.py:print"b", b
./utils.py:print combine_dicts(a, b, operator.mul)
./xml_example.py: print">>"
./xml_example.py: print ET.tostring(e, method="text")
./xml_example.py: print"<
./xml_example.py:print ET.tostring(root, method="text")