

file path can be long, and find might returns 10's or 100's thousands of files. src/edu/cuny/csi/csc330/threads/RunnableBufferWriter.java:import īut this can be problematic as the shell command-line size has a typical limit of 100s of K-Bytes. src/edu/cuny/csi/csc330/threads/BasicThreadPool.java:import The first approach asks "find" to generate a list of file paths used as arguments to grep:

I can think of 2 slightly different ways of doing this.
