Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > d2f2e08d88dbc61efc48707a3730ec61 > files > 79

xbanner-1.31-16mdk.i586.rpm

<HTML>
<HEAD>
 <TITLE>Doc. for xb_check</TITLE>
</HEAD>

<!BODY>
<BODY BGCOLOR="#551A8B" TEXT="white" LINK="cyan" VLINK="green" ALINK="red">
<H1><CODE><EM>xb_check</EM></CODE></H1>

checks XBanner resource files and other resources

<HR>

Hi!<BR>
<BR>
<CODE>xb_check</CODE> is really a crude program, meant to read its
<CODE>stdin</CODE>, and check for resources that look like <EM>XBanner</EM>'s
and test their validity. It <B>will</B> warn
about lines like<BR><PRE>XBanner.gibberish: blablabla</PRE>
but not on lines like:<BR>
<PRE>myxbanner.barSise: 10</PRE>
Notice the <I>Size</I> word is written <I>S-i-s-e</I>. This is because <CODE>xb_check</CODE> only knows about <CODE>XBanner.*</CODE> and
<CODE>xbanner.*</CODE> as possible names.
<P>
You can use <CODE>-n myxbanner</CODE> to have it recognize lines containing
things like <CODE>myxbanner.BgGrad: red,green</CODE>. If you need to recogniz
more than just <CODE>myxbanner</CODE> use :
<PRE>sed 's/xbanner2/XBanner/g' < ResFile | xb_check -n myxbanner</PRE>
Also, if you want to see if there are any problems with the app-defaults
file you could just type:<BR><BR>

<CODE>appres XBanner | xb_check</CODE><BR><BR>

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

<CODE>xrdb -q | xb_check
</CODE><BR><BR>
and <CODE>xb_check</CODE> will test for any <EM>XBanner</EM> resources in the X11
<CODE>RESOURCE_MANAGER_STRING</CODE> property.

<BR><BR>That's it.

<HR>

<A HREF="index.html">Back to Index</A>
</BODY>
</HTML>