> I know this is wrong
> Would someone fix it
> 
> .ds a foo
> .ds b bar
> .
> .if d a & d b \{\
> \*[a] \*[b]
> .\}
> 
> Richard
> 

Solution:

.ds a foo
.ds b bar
.
.if d a \
.  if d b \{\
\*[a] \*[b]
.\}

>From groff.info, section `Operators in Conditionals':

  Note that these operators [like `d'] can't be combined with other
  operators like `:' or `&'; only a leading `!' (without whitespace
  between the exclamation mark and the operator) can be used to negate
  the result.


     Werner


Reply via email to