[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] New request `writec'
From: |
Larry Kollar |
Subject: |
Re: [Groff] New request `writec' |
Date: |
Sun, 17 Mar 2002 09:05:00 -0500 |
Werner LEMBERG <address@hidden> wrote:
> In analogy to `tmc' I've added `writec' which is similar to the
> `write' request but without emitting a final newline.
And in a valiant effort to keep the manual current, here's a
patch to groff.texinfo that covers it. :-)
--- groff.texinfo.orig Sun Mar 17 09:00:16 2002
+++ groff.texinfo Sun Mar 17 09:03:03 2002
@@ -10241,7 +10241,7 @@
Opens the specified @var{file} for writing and
associates the specified @var{stream} with it.
-The @code{opena} is like @code{open}, but if the file exists, append to
+The @code{opena} request is like @code{open}, but if the file exists, append to
it instead of truncating it.
@endDefreq
@@ -10249,12 +10249,16 @@
@cindex mode, copy-in, and @code{write} requests
@cindex writing to file (@code{write})
@cindex file, writing to (@code{write})
address@hidden {write, stream data}
address@hidden {write, stream data}
address@hidden {writec, stream data}
Writes to the file associated with the specified @var{stream}.
The stream must previously have
been the subject of an open request. The remainder of the line is
interpreted as the @code{ds} request reads its second argument: A
leading @samp{"} is stripped, and it is read in copy-in mode.
+
+The @code{writec} request is like @code{write}, but only
address@hidden appends a newline to the data.
@endDefreq
@cindex closing file (@code{close})
--
Larry Kollar k o l l a r at a l l t e l . n e t
"Content creators are the engine that drives value in the
information life cycle." -- Barry Schaeffer, on XML-Doc