I am trying to append text to every Makefile in /usr/ports/ directory and I am trying to figure out methods.
I think I need xargs but unure. I see examples with tee instead of find.. Maybe I need grep instead.
Can you help?
I have /usr/ports/Makefile backed up for this experiment. It is special..
find /usr/ports/ -type f -name Makefile | echo "MAKE_ARGS+=STATIC=1" >> echo "MAKE_ARGS+=STATIC=1" >> | find /usr/ports/ -type f -name MakefileI think I need xargs but unure. I see examples with tee instead of find.. Maybe I need grep instead.
Can you help?
I have /usr/ports/Makefile backed up for this experiment. It is special..