On Fri, Sep 21, 2007 at 01:38:41PM -0700, andlabs wrote: > > Hello. I noticed, that given > > .ds U \\s-2UNIX\\s0 > > in a troff file after -ms, and neither -ms nor that file define a macro .U, > I could do > > .U > > and it would be replaced with the contents of that string. Is that a feature > of groff? I'd like to clear things up. Thanks.
Yes, this is a documented behavior. Strings, macros, diversions, and requests are all in the same namespace, and strings, macros, and diversions can all be printed as one another. Requests, for the obvious reasons, cannot be printed and will cause a diagnostic message if you attempt to do so. For more information, see the "Strings" section of the groff info pages. -- brian m. carlson / brian with sandals: Houston, Texas, US +1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
signature.asc
Description: Digital signature
