Package: gawk
Version: 1:3.1.4-2
Severity: normal
Tags: patch

>From lines #198 to #570 the paragraphs in 'man gawk' aren't 
separated, making it harder to read.

Here's an excerpt, with line numbers:

% man gawk | grep -A 20 -B 6 -n "options are flagged as invalid"
192-              dards, these options cause an immediate, successful exit.)
193-
194-       --     Signal the end of options. This is useful to allow further 
argu-
195-              ments  to  the  AWK program itself to start with a "-".  This 
is
196-              mainly for consistency with the argument parsing convention 
used
197-              by most other POSIX programs.
198:       In  compatibility  mode,  any other options are flagged as invalid, 
but
199-       are otherwise ignored.  In normal operation, as long  as  program  
text
200-       has  been supplied, unknown options are passed on to the AWK program 
in
201-       the ARGV array for processing.  This is particularly useful for 
running
202-       AWK programs via the "#!" executable interpreter mechanism.
203-AWK PROGRAM EXECUTION
204-       An  AWK program consists of a sequence of pattern-action statements 
and
205-       optional function definitions.
206-              pattern   { action statements }
207-              function name(parameter list) { statements }
208-       Gawk first reads the program source from the program-file(s) if  
speci-
209-       fied, from arguments to --source, or from the first non-option 
argument
210-       on the command line.  The -f and --source options may be used  
multiple
211-       times  on  the command line.  Gawk reads the program text as if all 
the
212-       program-files and command  line  source  texts  had  been  
concatenated
213-       together.   This  is  useful  for  building libraries of AWK 
functions,
214-       without having to include them in each new AWK program that uses  
them.
215-       It also provides the ability to mix library functions with command 
line
216-       programs.
217-       The environment variable AWKPATH specifies a search path  to  use  
when
218-       finding  source  files named with the -f option.  If this variable 
does


I experimented and came up with a short patch, which is attached.  Apparently 
the 
problem was that this:

        .PD 0

...should have been:

        .PD


Hope this helps...


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages gawk depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an

-- no debconf information
451c451
< .PD 0
---
> .PD
457a458
> .PD 

Reply via email to