> Why does this input echo "\w'0'"
> .tm \w'0'
> while this input echoes "5000"?
> .nr w \w'0'
> .tm \nw

>From the info file:

-- Request: .tm string

     Send STRING to the standard error output; this is
     very useful for printing debugging messages among
     other things.  STRING is read in copy mode.

Copy-in mode:

  When 'gtroff' reads in the text for a macro, string,
  or diversion, it copies the text (including request
  lines, but excluding escapes) into an internal buffer.
  Escapes are converted into an internal form, except for
  '\n', '\$', '\*', '\\' and '\<RET>', which are evaluated
  and inserted into the text where the escape was located.
  This is known as "copy-in" mode or "copy" mode.



Reply via email to