Mention both your ways JY> ed $(find -name '*.c' -ok echo {} \; ) JY> xargs -a <(find -name '*.c') -n1 -p ed
and mine. P.S., today is the first time I ever saw "<(...)", OK, I see it on the bash man page under Process Substitution.
Mention both your ways JY> ed $(find -name '*.c' -ok echo {} \; ) JY> xargs -a <(find -name '*.c') -n1 -p ed
and mine. P.S., today is the first time I ever saw "<(...)", OK, I see it on the bash man page under Process Substitution.