fsync.2, getcpu.2, io_getevents.2, kcmp.2, killpg.2, outb.2, perf_event_open.2, setns.2, getaddrinfo_a.3, makedev.3, mcheck.3, perror.3, posix_memalign.3, xdr.3, cciss.4, fd.4, hpsa.4, st.4, acct.5, gai.conf.5, nss.5, proc.5, ip.7, koi8-r.7, netdevice.7, netlink.7, ld.so.8: Remove double blank lines in output

Found using this script from Denys Vlasenko (with some mods
by mtk):

    find man? -type f -name '*.[123456789]' -size +200c | sort \
    | while read name; do
            m1="`man $name | tail -n +5 | head -n-1`"
            m2="`
            printf "%s\n" "$m1" \
            | tr $'\n' '@' \
            | sed 's/@@@/@@HERE>>>>@/g' \
            | tr '@' $'\n' \
            | sed 's/^/\t/' \
            | sed 's/^\tHERE>>>>/    HERE>>>>/' \
            | grep -C2 -e $'^[^\t]' \
            | sed 's/^\t$//'
            `"
            test "$m2" || continue
            printf "%s\n%s\n" "${name#./}" "$m2"
    done

Reported-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-02-25 07:05:55 +01:00
parent 71af708ffd
commit 7fc9de91dd
27 changed files with 0 additions and 35 deletions

View File

@ -72,7 +72,6 @@ The call blocks until the device reports that the transfer has completed.
It also flushes metadata information associated with the file (see It also flushes metadata information associated with the file (see
.BR stat (2)). .BR stat (2)).
Calling Calling
.BR fsync () .BR fsync ()
does not necessarily ensure does not necessarily ensure

View File

@ -13,7 +13,6 @@ getcpu \- determine CPU and NUMA node on which the calling thread is running
.sp .sp
.BI "int getcpu(unsigned *" cpu ", unsigned *" node \ .BI "int getcpu(unsigned *" cpu ", unsigned *" node \
", struct getcpu_cache *" tcache ); ", struct getcpu_cache *" tcache );
.fi .fi
.IR Note : .IR Note :

View File

@ -10,7 +10,6 @@ io_getevents \- read asynchronous I/O events from the completion queue
.BR "#include <linux/aio_abi.h>" " /* Defines needed types */" .BR "#include <linux/aio_abi.h>" " /* Defines needed types */"
.BR "#include <linux/time.h>" " /* Defines 'struct timespec' */" .BR "#include <linux/time.h>" " /* Defines 'struct timespec' */"
.sp
.BI "int io_getevents(aio_context_t " ctx_id ", long " min_nr ", long " nr , .BI "int io_getevents(aio_context_t " ctx_id ", long " min_nr ", long " nr ,
.BI " struct io_event *" events \ .BI " struct io_event *" events \
", struct timespec *" timeout ); ", struct timespec *" timeout );

View File

@ -32,7 +32,6 @@ kcmp \- compare two processes to determine if they share a kernel resource
.BI "int kcmp(pid_t " pid1 ", pid_t " pid2 ", int " type , .BI "int kcmp(pid_t " pid1 ", pid_t " pid2 ", int " type ,
.BI " unsigned long " idx1 ", unsigned long " idx2 ); .BI " unsigned long " idx1 ", unsigned long " idx2 );
.fi .fi
.IR Note : .IR Note :

View File

@ -49,7 +49,6 @@ killpg \- send signal to a process group
Feature Test Macro Requirements for glibc (see Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)): .BR feature_test_macros (7)):
.in .in
.sp
.ad l .ad l
.TP 4 .TP 4
.BR killpg (): .BR killpg ():

View File

@ -34,7 +34,6 @@ outb_p, outw_p, outl_p, inb_p, inw_p, inl_p \- port I/O
.nf .nf
.B #include <sys/io.h> .B #include <sys/io.h>
.BI "unsigned char inb(unsigned short int " port ); .BI "unsigned char inb(unsigned short int " port );
.BI "unsigned char inb_p(unsigned short int " port ); .BI "unsigned char inb_p(unsigned short int " port );
.BI "unsigned short int inw(unsigned short int " port ); .BI "unsigned short int inw(unsigned short int " port );

View File

@ -482,9 +482,7 @@ The value to use in
can be obtained from under debugfs can be obtained from under debugfs
.I tracing/events/*/*/id .I tracing/events/*/*/id
if ftrace is enabled in the kernel. if ftrace is enabled in the kernel.
.RE .RE
.RS .RS
If If
.I type .I type
@ -527,7 +525,6 @@ for measuring the branch prediction unit
.BR PERF_COUNT_HW_CACHE_NODE " (Since Linux 3.0)" .BR PERF_COUNT_HW_CACHE_NODE " (Since Linux 3.0)"
for measuring local memory accesses for measuring local memory accesses
.RE .RE
.P .P
and and
.I perf_hw_cache_op_id .I perf_hw_cache_op_id
@ -543,7 +540,6 @@ for write accesses
.B PERF_COUNT_HW_CACHE_OP_PREFETCH .B PERF_COUNT_HW_CACHE_OP_PREFETCH
for prefetch accesses for prefetch accesses
.RE .RE
.P .P
and and
.I perf_hw_cache_op_result_id .I perf_hw_cache_op_result_id
@ -1110,12 +1106,9 @@ struct perf_event_mmap_page {
.fi .fi
.in .in
The following looks at the fields in the The following looks at the fields in the
.I perf_event_mmap_page .I perf_event_mmap_page
structure in more detail. structure in more detail.
.RS 4 .RS 4
.TP .TP
.I version .I version

View File

@ -106,7 +106,6 @@ a new thread is created using
.BR clone (2) .BR clone (2)
can be changed using can be changed using
.BR setns (). .BR setns ().
.SH EXAMPLE .SH EXAMPLE
The program below takes two or more arguments. The program below takes two or more arguments.
The first argument specifies the pathname of a namespace file in an existing The first argument specifies the pathname of a namespace file in an existing

View File

@ -419,7 +419,6 @@ $ \fB./a.out\fP
.PP .PP
The program source is as follows: The program source is as follows:
\&
.nf .nf
#define _GNU_SOURCE #define _GNU_SOURCE
#include <netdb.h> #include <netdb.h>

View File

@ -33,7 +33,6 @@ makedev, major, minor \- manage a device number
.BI "unsigned int major(dev_t " dev ); .BI "unsigned int major(dev_t " dev );
.BI "unsigned int minor(dev_t " dev ); .BI "unsigned int minor(dev_t " dev );
.fi .fi
.SH DESCRIPTION .SH DESCRIPTION
A device ID consists of two parts: A device ID consists of two parts:

View File

@ -34,7 +34,6 @@ mcheck, mcheck_check_all, mcheck_pedantic, mprobe \- heap consistency checking
.B void mcheck_check_all(void); .B void mcheck_check_all(void);
.BI "enum mcheck_status mprobe(void *" ptr ); .BI "enum mcheck_status mprobe(void *" ptr );
.fi .fi
.SH DESCRIPTION .SH DESCRIPTION
The The

View File

@ -87,7 +87,6 @@ The use of
.IR sys_errlist "[]" .IR sys_errlist "[]"
is nowadays deprecated. is nowadays deprecated.
When a system call fails, it usually returns \-1 and sets the When a system call fails, it usually returns \-1 and sets the
variable variable
.I errno .I errno

View File

@ -120,7 +120,6 @@ except for the added restriction that
should be a multiple of should be a multiple of
.IR alignment . .IR alignment .
The obsolete function The obsolete function
.BR valloc () .BR valloc ()
allocates allocates

View File

@ -537,7 +537,6 @@ one of the most frequently used primitives, requires three.
Returns one if it succeeds, zero otherwise. Returns one if it succeeds, zero otherwise.
.SH SEE ALSO .SH SEE ALSO
.BR rpc (3) .BR rpc (3)
.LP .LP
The following manuals: The following manuals:
.RS .RS

View File

@ -119,7 +119,6 @@ The device naming scheme is:
/dev/cciss/c1d1p1 Controller 1, disk 1, partition 1 /dev/cciss/c1d1p1 Controller 1, disk 1, partition 1
/dev/cciss/c1d1p2 Controller 1, disk 1, partition 2 /dev/cciss/c1d1p2 Controller 1, disk 1, partition 2
/dev/cciss/c1d1p3 Controller 1, disk 1, partition 3 /dev/cciss/c1d1p3 Controller 1, disk 1, partition 3
.fi .fi
.SS Files in /proc .SS Files in /proc
The files The files
@ -149,7 +148,6 @@ For example:
Sequential access devices: 0 Sequential access devices: 0
cciss/c2d0: 36.38GB RAID 0 cciss/c2d0: 36.38GB RAID 0
.fi .fi
.SS Files in /sys .SS Files in /sys
.TP .TP

View File

@ -85,7 +85,6 @@ _
\fBfd\fP\fIn\fP\fBh1494\fP 1494K 83 18 2 72 \fBfd\fP\fIn\fP\fBh1494\fP 1494K 83 18 2 72
\fBfd\fP\fIn\fP\fBh1600\fP 1600K 80 20 2 92 \fBfd\fP\fIn\fP\fBh1600\fP 1600K 80 20 2 92
.TE .TE
.PP
3.5 inch double density device files: 3.5 inch double density device files:
.TS .TS
lw(1i) l l l l l. lw(1i) l l l l l.

View File

@ -48,7 +48,6 @@ driver supports the following Smart Array boards:
Smart Array P712m Smart Array P712m
Smart Array P711m Smart Array P711m
StorageWorks P1210m StorageWorks P1210m
.fi .fi
.SS Configuration details .SS Configuration details
To configure HP Smart Array controllers, To configure HP Smart Array controllers,

View File

@ -491,7 +491,6 @@ If this option is false and the drive uses a fixed block size, then
all write operations must be for a multiple of the block size. all write operations must be for a multiple of the block size.
This option must be set false to write reliable multivolume archives. This option must be set false to write reliable multivolume archives.
.TP .TP
.TP
.BR MT_ST_ASYNC_WRITES " (Default: true)" .BR MT_ST_ASYNC_WRITES " (Default: true)"
When this option is true, write operations return immediately without When this option is true, write operations return immediately without
waiting for the data to be transferred to the drive if the data fits waiting for the data to be transferred to the drive if the data fits

View File

@ -142,7 +142,6 @@ struct acct_v3 {
comp_t ac_swaps; /* Number of swaps (unused) */ comp_t ac_swaps; /* Number of swaps (unused) */
char ac_comm[ACCT_COMM]; /* Command name */ char ac_comm[ACCT_COMM]; /* Command name */
}; };
.fi .fi
.in .in
.SH VERSIONS .SH VERSIONS

View File

@ -87,7 +87,6 @@ precedence 2002::/16 30
precedence ::/96 20 precedence ::/96 20
precedence ::ffff:0:0/96 10 precedence ::ffff:0:0/96 10
.fi .fi
.\" .SH AUTHOR .\" .SH AUTHOR
.\" Ulrich Drepper <drepper@redhat.com> .\" Ulrich Drepper <drepper@redhat.com>
.\" .\"

View File

@ -104,7 +104,6 @@ The default configuration corresponds to the following configuration file:
NETID_AUTHORITATIVE=FALSE NETID_AUTHORITATIVE=FALSE
SERVICES_AUTHORITATIVE=FALSE SERVICES_AUTHORITATIVE=FALSE
SETENT_BATCH_READ=FALSE SETENT_BATCH_READ=FALSE
.\" .SH AUTHOR .\" .SH AUTHOR
.\" Ulrich Drepper <drepper@redhat.com> .\" Ulrich Drepper <drepper@redhat.com>
.\" .\"

View File

@ -1954,7 +1954,6 @@ set), and finally removed altogether since Linux 2.6.17.
.\" .TP .\" .TP
.\" .IR /proc/sched_debug " (since Linux 2.6.23)" .\" .IR /proc/sched_debug " (since Linux 2.6.23)"
.\" See also /proc/[pid]/sched .\" See also /proc/[pid]/sched
.TP .TP
.IR /proc/profile " (since Linux 2.4)" .IR /proc/profile " (since Linux 2.4)"
This file is present only if the kernel was booted with the This file is present only if the kernel was booted with the
@ -1967,7 +1966,6 @@ on some architectures,
writing a binary integer "profiling multiplier" of size writing a binary integer "profiling multiplier" of size
.IR sizeof(int) .IR sizeof(int)
resets the profiling interrupt frequency. resets the profiling interrupt frequency.
.TP .TP
.I /proc/scsi .I /proc/scsi
A directory with the A directory with the

View File

@ -464,7 +464,6 @@ and
by writing (respectively, zero and nonzero values) to the by writing (respectively, zero and nonzero values) to the
.I /proc/sys/net/ipv4/ip_no_pmtu_disc .I /proc/sys/net/ipv4/ip_no_pmtu_disc
file. file.
.TS .TS
tab(:); tab(:);
c l c l

View File

@ -185,7 +185,6 @@ _
375 253 FD ý CYRILLIC CAPITAL LETTER SHCHA 375 253 FD ý CYRILLIC CAPITAL LETTER SHCHA
376 254 FE þ CYRILLIC CAPITAL LETTER CHE 376 254 FE þ CYRILLIC CAPITAL LETTER CHE
377 255 FF ÿ CYRILLIC CAPITAL LETTER HARD SIGN 377 255 FF ÿ CYRILLIC CAPITAL LETTER HARD SIGN
.TE .TE
.SH SEE ALSO .SH SEE ALSO
.BR ascii (7), .BR ascii (7),

View File

@ -122,7 +122,6 @@ IFF_LOWER_UP:Driver signals L1 up (since Linux 2.6.17)
IFF_DORMANT:Driver signals dormant (since Linux 2.6.17) IFF_DORMANT:Driver signals dormant (since Linux 2.6.17)
IFF_ECHO:Echo sent packets (since Linux 2.6.25) IFF_ECHO:Echo sent packets (since Linux 2.6.25)
.TE .TE
.ad .ad
Setting the active flag word is a privileged operation, but any Setting the active flag word is a privileged operation, but any

View File

@ -211,7 +211,6 @@ Note that
requires the requires the
.B CAP_NET_ADMIN .B CAP_NET_ADMIN
capability or an effective UID of 0. capability or an effective UID of 0.
.na .na
.TS .TS
tab(:); tab(:);

View File

@ -169,7 +169,6 @@ flush, muldiv, stbar, swap, ultra3, v9, v9v, v9v2
dfp, eimm, esan3, etf3enh, g5, highgprs, hpage, ldisp, msa, stfle, dfp, eimm, esan3, etf3enh, g5, highgprs, hpage, ldisp, msa, stfle,
z900, z990, z9-109, z10, zarch z900, z990, z9-109, z10, zarch
.TP .TP
.TP
.B x86 (32-bit only) .B x86 (32-bit only)
acpi, apic, clflush, cmov, cx8, dts, fxsr, ht, i386, i486, i586, i686, mca, mmx, acpi, apic, clflush, cmov, cx8, dts, fxsr, ht, i386, i486, i586, i686, mca, mmx,
mtrr, pat, pbe, pge, pn, pse36, sep, ss, sse, sse2, tm mtrr, pat, pbe, pge, pn, pse36, sep, ss, sse, sse2, tm