GNU Info

Info Node: (groff)Request Arguments

(groff)Request Arguments


Prev: Requests Up: Requests
Enter node , (file) or (file)node

Request Arguments
.................

   Arguments to requests (and macros) are processed much like the shell:
The line is split into arguments according to spaces.  An argument
which is intended to contain spaces can either be enclosed in double
quotes, or have the spaces "escaped" with backslashes.

   Here are a few examples:


     .uh The Mouse Problem
     .uh "The Mouse Problem"
     .uh The\ Mouse\ Problem

The first line is the `uh' macro being called with 3 arguments, `The',
`Mouse', and `Problem'.  The latter two have the same effect of calling
the `uh' macro with one argument, `The Mouse Problem'.(1) (Note:
Request Arguments-Footnote-1)

   A double quote which isn't preceded by a space doesn't start a macro
argument.  If not closing a string, it is printed literally.

   For example,


     .xxx a" "b c" "de"fg"

has the arguments `a"', `b c', `de', and `fg"'.

   Duoble quotes in the `ds' request are handled differently.  Note:
Strings, for more details.


automatically generated by info2www version 1.2.2.9