xb_check

checks XBanner resource files and other resources
Hi!

xb_check is really a crude program, meant to read its stdin, and check for resources that look like XBanner's and test their validity. It will warn about lines like
XBanner.gibberish: blablabla
but not on lines like:
myxbanner.barSise: 10
Notice the Size word is written S-i-s-e. This is because xb_check only knows about XBanner.* and xbanner.* as possible names.

You can use -n myxbanner to have it recognize lines containing things like myxbanner.BgGrad: red,green. If you need to recogniz more than just myxbanner use :

sed 's/xbanner2/XBanner/g' < ResFile | xb_check -n myxbanner
Also, if you want to see if there are any problems with the app-defaults file you could just type:

appres XBanner | xb_check

and it will be listed. Of course you can always use

xrdb -q | xb_check

and xb_check will test for any XBanner resources in the X11 RESOURCE_MANAGER_STRING property.

That's it.
Back to Index