I have a script,
run.sh, that looks like this:
#!/bin/bash FILES=$(find corpus/ -type f) for i in $FILES do ./individual.sh $i done
It runs without problem.
I want to do away with the run script by piping each file from find to
I would think that I could just do:
find corpus/ -type f | ./individual.sh
But in trying that it just pipes in a file with file name "" (leading to an error).
What is the proper syntax for this?