A simple Python implementation of pipe "readfile c:\file1.txt | locate /apple/ | writefile c:\file2.txt"