I have the following bash command:
find repo -name '*.c'
What I want to do is use the files returned as arguments to my perl script, so that it's equivalent to running:
perl ./myscript file1.c file2.c file3.c ...
How can I do this?
|
Try
This should be the same as
|
|||||
|
|
You can try that :
The delimiter in the substitution is If you prefer a real
|
|||||
|
inputconfused witharguments(inputis generally associated with a program'sstandard instream, which is different from its arguments). I updated your question to reflect this based on the answer you selected and your comments on the answers. Feel free to revert the changes if they were incorrect. – Darth Android Oct 17 '12 at 14:22