[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Allowing user also to check if a line starts with horizontal
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] Allowing user also to check if a line starts with horizontal space |
Date: |
Wed, 11 Feb 2009 00:18:37 +0100 (CET) |
> It should be enough to just check that the line (otherwise not
> empty) begins with at least one space. Reading ahead to count the
> number of spaces is not needed, and may indeed be bad, because the
> spaces need to print as usual.
Groff does this already while processing leading spaces in a line. It
is necessary to do so for finding a trailing newline since in this
situation the spaces are completely ignored.
Werner
- [Groff] Allowing user also to check if a line starts with horizontal space, Dorai Sitaram, 2009/02/03
- Re: [Groff] Allowing user also to check if a line starts with horizontal space, Werner LEMBERG, 2009/02/03
- Re: [Groff] Allowing user also to check if a line starts with horizontal space, Dorai Sitaram, 2009/02/04
- Re: [Groff] Allowing user also to check if a line starts with horizontal space, Werner LEMBERG, 2009/02/10
- Re: [Groff] Allowing user also to check if a line starts with horizontal space, Dorai Sitaram, 2009/02/10
- Re: [Groff] Allowing user also to check if a line starts with horizontal space,
Werner LEMBERG <=
- Re: [Groff] Allowing user also to check if a line starts with horizontal space, Werner LEMBERG, 2009/02/14
- Re: [Groff] Allowing user also to check if a line starts with horizontal space, Dorai Sitaram, 2009/02/15
- Re: [Groff] Allowing user also to check if a line starts with horizontal space, Werner LEMBERG, 2009/02/15
- Re: [Groff] Allowing user also to check if a line starts with ho, Ted Harding, 2009/02/15