On 6/21/07, Eric Blake <[EMAIL PROTECTED]> wrote:
Can't you do something like:

for f in `find $srcdir -name '*.c'`; do
  case `sed -ne '/^#[    ]*include/ {
      p
      q
    }' < $f` in
  config.h);;
  *) echo "check $f for inclusion order problems" ;;
  esac
done

Yes, good idea.   I believe there are other similar checks in
coreutils which we should adopt, too.

James.


_______________________________________________
Bug-findutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-findutils

Reply via email to