Re: [9fans] ndb database checker: ndb/vrfy

2010-10-28 Thread erik quanstrom
i have no idea why the yacc source wasn't included. here it is. - erik%{ #include #include #include #include typedef struct T T; struct T{ T *next; T *down; char*s; char*t; int line; char*file; }; #pragma varargck

[9fans] ndb database checker: ndb/vrfy

2010-10-28 Thread erik quanstrom
a number of weeks ago, to facilitate migrating many hundreds of machines to a new network setup, i wrote a simple and fairly bone-headed ndb database checker, ndb/vrfy. it was amazingly effective, if provincial. it catches all the classics like badly formatted eas, duplicate eas, mistyped keys (