groff
[Top][All Lists]
Advanced

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

Re: [Groff] Trying to escape user input.


From: Keith Marshall
Subject: Re: [Groff] Trying to escape user input.
Date: Tue, 22 Apr 2008 01:18:54 +0100
User-agent: KMail/1.9.1

On Tuesday 22 April 2008 01:05, Mike Burns wrote:
> Looking at the man pages I thought I could just change all "." after
> a newline to "\.", and that would escape it, but this doesn't seem to
> work.  I created a tiny 2-line roff input program to show my problem.
>
> ----------------foo.t--------------
> There are many things I'd like to know about the way that roff works.
> \.this is a line that starts with a <.>
> -------------------------------------

You are almost there...

----------------foo.t--------------
There are many things I'd like to know about the way that roff works.
\&.this is a line that starts with a <.>
-------------------------------------

HTH,
Keith.




reply via email to

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