> There is several lines of whitespace and a page number. I want
> the first line of text to be on the first line of output and
> no page numbers. There are left and right margins. I need
> it to have no margins and a page width of 80 columns when
> generating text output. The PDF version can hav
Ralph, thank you
This was a very useful Unix tutorial.
Thanks
Anton
Hi Anton,
> > I'm assuming you know about the SIGPIPE, or EPIPE return from
> > write(2), that occurs when sed closes its stdin, nroff's stdout, and
> > how that ripples back through the pipeline, causing yes(1) to stop?
>
> No, I don't. This really was my question. From your answer I see it's
>
>From ra...@inputplus.co.uk Wed Sep 16 12:10:02 2015
>
>Why use head(1)? Why did Berkeley even bother to create head when sed
>already existed and had the functionality?
I didn't know that.
>I'm assuming you know about the SIGPIPE, or EPIPE return from write(2),
>that occurs when sed closes its
Hi Anton,
> >$ (printf '.pl 1i\n.ll 2i\n'; yes 'a \n%') | nroff | sed 13q
...
> I can reproduce this on my FreeBSD box, but I cannot figure out how
> this works? Can you really send a never ending stream to nroff?
Sure. It does output-line-at-a-time formatting. Even
paragraph-at-a-time tha
>
>$ (printf '.pl 1i\n.ll 2i\n'; yes 'a \n%') | nroff | sed 13q
>a 1 a 1 a 1 a 1 a 1
>a 1 a 1 a 1 a 1 a 1
>a 1 a 1 a 1 a 1 a 1
>a 1 a 1 a 1 a 1 a 1
>a 1 a 1 a 1 a 1 a 1
>a 1 a 1 a 1 a 1 a 1
>a 2 a 2 a 2 a 2 a 2
>a 2 a 2 a 2 a 2 a 2
>a 2 a 2 a 2 a 2 a
Hi Marisa,
Damian wrote:
> > There is several lines of whitespace and a page number. I want the
> > first line of text to be on the first line of output and no page
> > numbers.
>
> I have never used 'groff' for such things. I am guessing it is either
> not the right tool, or will need to be post
On Tue, 15 Sep 2015, Marisa Giancarla wrote:
Ok, trying that gave me an improvement but i still have these issues:
There is several lines of whitespace and a page number. I want the first
line of text to be on the first line of output and no page numbers.
I have never used 'groff' for such
On Tue, Sep 15, 2015 at 12:38:56AM -0700, Marisa Giancarla wrote:
> Im trying to convert my plain text documents to groff with -mm macro
> so that i can generate plain text and pdf formats automaticly. When
> processing it i get a syntax error. I can't post the details here
> since the formatting
Ok, trying that gave me an improvement but i still have these issues:
There is several lines of whitespace and a page number. I want the first line
of text to be on the first line of output and no page numbers.
There are left and right margins. I need it to have no margins and a page width
of 80
Hi Marisa,
On Tue, 15 Sep 2015, Marisa Giancarla wrote:
Im trying to convert my plain text documents to groff with -mm macro so
that i can generate plain text and pdf formats automaticly. When
processing it i get a syntax error.
Here is the command I'm using:
groff -p -t -mm -Tascii conimp
Im trying to convert my plain text documents to groff with -mm macro so that i
can generate plain text and pdf formats automaticly. When processing it i get a
syntax error. I can't post the details here since the formatting is critical to
the issue. Here is a link to the details:
https://www.ev
12 matches
Mail list logo