-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to James Youngman on 6/21/2007 3:22 AM:
> 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);;

In retrospect, that would be better rendered as:

*'"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.
> 

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGem3284KuGfSFAYARAtGnAJ0eSyxFo+6Av7ahhCuwj3I+1KZZjwCdEqls
GPyHfR7HBiWJhj8C7RAEYVQ=
=1o+n
-----END PGP SIGNATURE-----


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

Reply via email to