Note to self

I want to run make test-srpm on all of the Makefiles in my tree. Worked great.
find . -name Makefile | sed 's/Makefile//g' |  xargs -n 1 -I foo make -C foo test-srpm
Once I learned sed and awk, combined them with find and xargs, I’ve gone crazy with the command line. Where once I used to write little Java programs, hrm is that even possible, little Java programs? I now use the command line.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s