groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] groff: inconsistent behavior of " to separate arguments


From: Ralph Corderoy
Subject: Re: [BUG] groff: inconsistent behavior of " to separate arguments
Date: Sun, 20 Mar 2022 08:32:50 +0000

Hi Alex,

- If an argument starts with a " then it ends at the next " which isn't
  the start of a "" or at the end of the line if there isn't a single ".
- If an argument does not start with a " then the " within it are
  literal and the argument ends just before the next space or the end of
  the line if there isn't a space.

> .IR "foo"bar
      1---12-2
> .IR foo"bar"
      1------1
> .IR "foo"bar"baz"
      1---12------2
...
>        foobar foo"bar" foobar"baz"

-- 
Cheers, Ralph.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]