groff
[Top][All Lists]
Advanced

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

Re: Is .rd implemented at all?


From: Tadziu Hoffmann
Subject: Re: Is .rd implemented at all?
Date: Thu, 17 Dec 2020 19:21:09 +0100
User-agent: Mutt/1.11.4 (2019-03-13)

If you're using preprocessors and you're on Linux, then
instead of ".rd" you could try

  .so /dev/tty

and terminate keyboard input with end-of-file (usually control-d)
or ".nx" on a line by itself.

Example:

  echo -e '.pl 10\nFoo\n.so /dev/tty\nbar\n.so /dev/tty\nbaz' | groff -Tascii

and then enter on your keyboard

  yes
  .nx
  no
  .nx

which will result in

  Foo yes bar no baz





reply via email to

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