[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] .lf with single argument?
From: |
Ralph Corderoy |
Subject: |
Re: [Groff] .lf with single argument? |
Date: |
Fri, 14 Feb 2003 16:37:32 +0000 |
Hi Werner,
> groff also uses .lf with a single argument (the line number). This
> isn't documented in CSTR 54. Looking into the source of plan9's
> troff, I see the same ability.
>
> How do other troff implementations behave?
Here's AIX 3.2.5. If it doesn't answer your question, let me know.
$ cat j
.nf
\n(.c '\n(.F'
.lf 42 mol
\n(.c '\n(.F'
.lf 314
\n(.c '\n(.F'
.lf \n(.c \n(.F
\n(.c '\n(.F'
\n(.c '\n(.F'
$ nroff <j | sed -n /./p
1 '<standard input>'
41 'mol'
312 'mol'
312 'mol'
313 'mol'
$
Cheers,
Ralph.