[comp.windows.x.motif] UIL & the unix "what" command

campbell@dev8.mdcbbs.com (Tim Campbell) (06/13/91)

I'm trying to imbed an version info into my UIL files with SCCS so that when
they have been compiled, the unix "what" command will be able to tell me 
what versions of each UIL file are inside a given UID file.

I've tried:
     Value
	SccsId: '%W% %G%';   <- the %W% and %G% are sccs keywords which
will translate into a filename, version number and date.

Unfortunately, the UID file wont contain the string in quotes anywhere.
(what, grep, and strings can't find it).

I have tried creating a XmNLabel widget and making the string an XmNlabelString
argument to the widget which does work.  However that is somewhat cumbersome.

I _suspect_ that the UIL is doing me a *favor* and optimizing the output by
omitting my string because it notices that it is never referenced.  Does 
anyone know if this really is the case?  Is there a workaround?

Thanks
	-Tim

  ---------------------------------------------------------------------------
	  In real life:  Tim Campbell - Electronic Data Systems Corp.
     Usenet:  campbell@dev8.mdcbbs.com   @ McDonnell Douglas M&E - Cypress, CA
       also:  tcampbel@einstein.eds.com  @ EDS - Troy, MI
 CompuServe:  71631,654	 	 (alias  71631.654@compuserve.com)
 P.S.  If anyone asks, just remember, you never saw any of this.