Hi,

i have a little problem. There is a source tree with many subdirectories
each with its own Makefile. My compiler is gcc 3.3 which produces more
warnings that 3.2 and before. But the Makefiles all contain the -Werror flag
which constantly causes my build to fail. Then I edit the corresponding
Makefile manually.
What I'd like to do is automatically delete all occurences of -Werror
recursively in all Makefiles. I have looked at sed, awk, regular
expressions, but it all seems fairly complicated, 
so I am now hoping that maybe someone of you helpful linux users can give me
a little hint on what I need to write i.e. how a shell/perl script would
need to look like to do exactly what I need.


Thank you very much in advance,
Axel Siebenwirth
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to