summaryrefslogtreecommitdiffstats
path: root/man4
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2022-10-30 18:59:09 +0100
committerAlejandro Colomar <alx@kernel.org>2022-10-30 23:50:30 +0100
commit4c1c52748a06141996fccbf23fb8d9e15cba11e8 (patch)
treedb53f9fd936fcbe72e41f7b2414f60689f25e045 /man4
parentbd14f1e3236a1f016b7a8a85deb34379c4470687 (diff)
Many pages: Use correct letter case in page titles (TH)
Scripted change: $ find man* -type f \ | xargs grep -L '\.so' \ | while read f; do P=$(basename $f); T=$(grep '\.TH ' $f | cut -f2,3 -d' ' | sed 's/ /./'); p=$(echo $P | tr '[:upper:]' '[:lower:]'); t=$(echo $T | tr '[:upper:]' '[:lower:]'); Tn=$(echo $T | sed 's/\.[^.]\+$//') Pn=$(echo $P | sed 's/\.[^.]\+$//') N=$(man_section $f NAME \ | sed -n '/NAME/,/ - /p' \ | sed 's/ - .*//' \ | grep -v '^NAME$' \ | tr ', ' '\n' \ | grep -i "^$Pn$" \ | head -n1) test $P = $T \ && test -n $N \ && continue; if test "x$p" != "x$t"; then echo 1 $P $T $N; elif test -z "$N"; then echo 2 $P $T $N; else sed -i "/\.TH /s/$Tn/$N/" $f; fi; done; On 10/30/22 23:00, G. Branden Robinson wrote: > For those to whom this change is coming as an unpleasant surprise, the > forthcoming groff 1.23.0 features an option that will reverse this > change at rendering time. > > From groff_man(7): > > -rCT=1 Capitalize titles, setting the man page title (the first > argument to .TH) in full capitals in headers and footers. > This transformation is off by default because it discards > case distinction information. > > This register can also be set in a site-local "man.local" file to force > it on for all pages. On Debian-based systems, this file is in > /etc/groff. The following line will do the trick. > > .nr CT 1 > > The groff_man_style(7) man page offers further examples of such > rendering customization. > > /usr/local/share/groff/site-tmac/man.local > Put site‐local changes and customizations into this file. > > .\" Use narrower indentation on terminals and similar. > .if n .nr IN 4n > .\" Put only one space after the end of a sentence. > .ss 12 0 \" See groff(7). > .\" Keep pages narrow even on wide terminals. > .if n .if \n[LL]>78n .nr LL 78n > .\" Ensure hyperlinks are enabled for terminals. > .nr U 1 > > On multi‐user systems, it is more considerate to users whose > preferences may differ from the administrator’s to be less > aggressive with such settings, or to permit their override > with a user‐specific man.local file. This can be achieved by > placing one or both of following requests at the end of the > site‐local file. > .soquiet \V[XDG_CONFIG_HOME]/man.local > .soquiet \V[HOME]/.man.local > However, a security‐sandboxed man(1) program may lack > permission to open such files. Cc: Ingo Schwarze <schwarze@openbsd.org> Cc: "G. Branden Robinson" <g.branden.robinson@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man4')
-rw-r--r--man4/cciss.42
-rw-r--r--man4/console_codes.42
-rw-r--r--man4/cpuid.42
-rw-r--r--man4/dsp56k.42
-rw-r--r--man4/fd.42
-rw-r--r--man4/full.42
-rw-r--r--man4/fuse.42
-rw-r--r--man4/hd.42
-rw-r--r--man4/hpsa.42
-rw-r--r--man4/initrd.42
-rw-r--r--man4/intro.42
-rw-r--r--man4/lirc.42
-rw-r--r--man4/loop.42
-rw-r--r--man4/lp.42
-rw-r--r--man4/mem.42
-rw-r--r--man4/mouse.42
-rw-r--r--man4/msr.42
-rw-r--r--man4/null.42
-rw-r--r--man4/pts.42
-rw-r--r--man4/ram.42
-rw-r--r--man4/random.42
-rw-r--r--man4/rtc.42
-rw-r--r--man4/sd.42
-rw-r--r--man4/sk98lin.42
-rw-r--r--man4/smartpqi.42
-rw-r--r--man4/st.42
-rw-r--r--man4/tty.42
-rw-r--r--man4/ttyS.42
-rw-r--r--man4/vcs.42
-rw-r--r--man4/veth.42
-rw-r--r--man4/wavelan.42
31 files changed, 31 insertions, 31 deletions
diff --git a/man4/cciss.4 b/man4/cciss.4
index 44ddc1c90..cfc57efc0 100644
--- a/man4/cciss.4
+++ b/man4/cciss.4
@@ -5,7 +5,7 @@
.\"
.\" shorthand for double quote that works everywhere.
.ds q \N'34'
-.TH CCISS 4 (date) "Linux man-pages (unreleased)"
+.TH cciss 4 (date) "Linux man-pages (unreleased)"
.SH NAME
cciss \- HP Smart Array block driver
.SH SYNOPSIS
diff --git a/man4/console_codes.4 b/man4/console_codes.4
index 2a8761d09..72e978757 100644
--- a/man4/console_codes.4
+++ b/man4/console_codes.4
@@ -14,7 +14,7 @@
.\"
.\" 2006-05-27, Several corrections - Thomas E. Dickey
.\"
-.TH CONSOLE_CODES 4 (date) "Linux man-pages (unreleased)"
+.TH console_codes 4 (date) "Linux man-pages (unreleased)"
.SH NAME
console_codes \- Linux console escape and control sequences
.SH DESCRIPTION
diff --git a/man4/cpuid.4 b/man4/cpuid.4
index 27de85636..c89d27062 100644
--- a/man4/cpuid.4
+++ b/man4/cpuid.4
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH CPUID 4 (date) "Linux man-pages (unreleased)"
+.TH cpuid 4 (date) "Linux man-pages (unreleased)"
.SH NAME
cpuid \- x86 CPUID access device
.SH DESCRIPTION
diff --git a/man4/dsp56k.4 b/man4/dsp56k.4
index 7aa324b7d..df8c67c5f 100644
--- a/man4/dsp56k.4
+++ b/man4/dsp56k.4
@@ -4,7 +4,7 @@
.\"
.\" Modified, Thu Jan 27 19:16:19 CET 2000, lars@nocrew.org
.\"
-.TH DSP56K 4 (date) "Linux man-pages (unreleased)"
+.TH dsp56k 4 (date) "Linux man-pages (unreleased)"
.SH NAME
dsp56k \- DSP56001 interface device
.SH SYNOPSIS
diff --git a/man4/fd.4 b/man4/fd.4
index 1ffe833d2..f744bbfe0 100644
--- a/man4/fd.4
+++ b/man4/fd.4
@@ -5,7 +5,7 @@
.\"
.\" Modified, Sun Feb 26 15:00:02 1995, faith@cs.unc.edu
.\"
-.TH FD 4 (date) "Linux man-pages (unreleased)"
+.TH fd 4 (date) "Linux man-pages (unreleased)"
.SH NAME
fd \- floppy disk device
.SH CONFIGURATION
diff --git a/man4/full.4 b/man4/full.4
index 16ad5ebcc..e3c3de215 100644
--- a/man4/full.4
+++ b/man4/full.4
@@ -3,7 +3,7 @@
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
.\" correction, aeb, 970825
-.TH FULL 4 (date) "Linux man-pages (unreleased)"
+.TH full 4 (date) "Linux man-pages (unreleased)"
.SH NAME
full \- always full device
.SH CONFIGURATION
diff --git a/man4/fuse.4 b/man4/fuse.4
index 2b5385cf5..dc1ec8a85 100644
--- a/man4/fuse.4
+++ b/man4/fuse.4
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH FUSE 4 (date) "Linux man-pages (unreleased)"
+.TH fuse 4 (date) "Linux man-pages (unreleased)"
.SH NAME
fuse \- Filesystem in Userspace (FUSE) device
.SH SYNOPSIS
diff --git a/man4/hd.4 b/man4/hd.4
index 4f625b1d8..fbbecbb9c 100644
--- a/man4/hd.4
+++ b/man4/hd.4
@@ -7,7 +7,7 @@
.\" Modified Mon Oct 21 21:38:51 1996 by Eric S. Raymond <esr@thyrsus.com>
.\" (and some more by aeb)
.\"
-.TH HD 4 (date) "Linux man-pages (unreleased)"
+.TH hd 4 (date) "Linux man-pages (unreleased)"
.SH NAME
hd \- MFM/IDE hard disk devices
.SH DESCRIPTION
diff --git a/man4/hpsa.4 b/man4/hpsa.4
index ff652c696..17a533c61 100644
--- a/man4/hpsa.4
+++ b/man4/hpsa.4
@@ -5,7 +5,7 @@
.\"
.\" shorthand for double quote that works everywhere.
.ds q \N'34'
-.TH HPSA 4 (date) "Linux man-pages (unreleased)"
+.TH hpsa 4 (date) "Linux man-pages (unreleased)"
.SH NAME
hpsa \- HP Smart Array SCSI driver
.SH SYNOPSIS
diff --git a/man4/initrd.4 b/man4/initrd.4
index b5132404d..20d561829 100644
--- a/man4/initrd.4
+++ b/man4/initrd.4
@@ -12,7 +12,7 @@
.\" phone: (302)654-5478
.\"
.\" $Id: initrd.4,v 0.9 1997/11/07 05:05:32 kallal Exp kallal $
-.TH INITRD 4 (date) "Linux man-pages (unreleased)"
+.TH initrd 4 (date) "Linux man-pages (unreleased)"
.SH NAME
initrd \- boot loader initialized RAM disk
.SH CONFIGURATION
diff --git a/man4/intro.4 b/man4/intro.4
index 262bd200d..a12c38c2d 100644
--- a/man4/intro.4
+++ b/man4/intro.4
@@ -4,7 +4,7 @@
.\" SPDX-License-Identifier: GPL-2.0-or-later
.\"
.\" Modified Sat Jul 24 16:57:14 1993 by Rik Faith (faith@cs.unc.edu)
-.TH INTRO 4 (date) "Linux man-pages (unreleased)"
+.TH intro 4 (date) "Linux man-pages (unreleased)"
.SH NAME
intro \- introduction to special files
.SH DESCRIPTION
diff --git a/man4/lirc.4 b/man4/lirc.4
index d89994cd6..30797a679 100644
--- a/man4/lirc.4
+++ b/man4/lirc.4
@@ -2,7 +2,7 @@
.\" Copyright (c) 2018, Sean Young <sean@mess.org>
.\"
.\" SPDX-License-Identifier: GPL-2.0-or-later
-.TH LIRC 4 (date) "Linux man-pages (unreleased)"
+.TH lirc 4 (date) "Linux man-pages (unreleased)"
.SH NAME
lirc \- lirc devices
.SH DESCRIPTION
diff --git a/man4/loop.4 b/man4/loop.4
index 671648c9b..9002d6717 100644
--- a/man4/loop.4
+++ b/man4/loop.4
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: GPL-2.0-or-later
.\"
-.TH LOOP 4 (date) "Linux man-pages (unreleased)"
+.TH loop 4 (date) "Linux man-pages (unreleased)"
.SH NAME
loop, loop-control \- loop devices
.SH SYNOPSIS
diff --git a/man4/lp.4 b/man4/lp.4
index edbef79f0..568bc37d4 100644
--- a/man4/lp.4
+++ b/man4/lp.4
@@ -4,7 +4,7 @@
.\" SPDX-License-Identifier: GPL-2.0-or-later
.\"
.\" Modified, Sun Feb 26 15:02:58 1995, faith@cs.unc.edu
-.TH LP 4 (date) "Linux man-pages (unreleased)"
+.TH lp 4 (date) "Linux man-pages (unreleased)"
.SH NAME
lp \- line printer devices
.SH SYNOPSIS
diff --git a/man4/mem.4 b/man4/mem.4
index 3cd1aab6f..333cef800 100644
--- a/man4/mem.4
+++ b/man4/mem.4
@@ -4,7 +4,7 @@
.\" SPDX-License-Identifier: GPL-2.0-or-later
.\"
.\" Modified Sat Jul 24 16:59:10 1993 by Rik Faith (faith@cs.unc.edu)
-.TH MEM 4 (date) "Linux man-pages (unreleased)"
+.TH mem 4 (date) "Linux man-pages (unreleased)"
.SH NAME
mem, kmem, port \- system memory, kernel memory and system ports
.SH DESCRIPTION
diff --git a/man4/mouse.4 b/man4/mouse.4
index 1a6621b05..765133578 100644
--- a/man4/mouse.4
+++ b/man4/mouse.4
@@ -2,7 +2,7 @@
.\" Updates Nov 1998, Andries Brouwer
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
-.TH MOUSE 4 (date) "Linux man-pages (unreleased)"
+.TH mouse 4 (date) "Linux man-pages (unreleased)"
.SH NAME
mouse \- serial mouse interface
.SH CONFIGURATION
diff --git a/man4/msr.4 b/man4/msr.4
index c4b2d3bf3..a11a71cd0 100644
--- a/man4/msr.4
+++ b/man4/msr.4
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH MSR 4 (date) "Linux man-pages (unreleased)"
+.TH msr 4 (date) "Linux man-pages (unreleased)"
.SH NAME
msr \- x86 CPU MSR access device
.SH DESCRIPTION
diff --git a/man4/null.4 b/man4/null.4
index 7c7eb4403..d8cb4feb0 100644
--- a/man4/null.4
+++ b/man4/null.4
@@ -4,7 +4,7 @@
.\" SPDX-License-Identifier: GPL-2.0-or-later
.\"
.\" Modified Sat Jul 24 17:00:12 1993 by Rik Faith (faith@cs.unc.edu)
-.TH NULL 4 (date) "Linux man-pages (unreleased)"
+.TH null 4 (date) "Linux man-pages (unreleased)"
.SH NAME
null, zero \- data sink
.SH DESCRIPTION
diff --git a/man4/pts.4 b/man4/pts.4
index 39446bba5..a021f039f 100644
--- a/man4/pts.4
+++ b/man4/pts.4
@@ -5,7 +5,7 @@
.\" Redistribute and revise at will.
.\" %%%LICENSE_END
.\"
-.TH PTS 4 (date) "Linux man-pages (unreleased)"
+.TH pts 4 (date) "Linux man-pages (unreleased)"
.SH NAME
ptmx, pts \- pseudoterminal master and slave
.SH DESCRIPTION
diff --git a/man4/ram.4 b/man4/ram.4
index a0c42b844..47161c505 100644
--- a/man4/ram.4
+++ b/man4/ram.4
@@ -4,7 +4,7 @@
.\" SPDX-License-Identifier: GPL-2.0-or-later
.\"
.\" Modified Sat Jul 24 17:01:11 1993 by Rik Faith (faith@cs.unc.edu)
-.TH RAM 4 (date) "Linux man-pages (unreleased)"
+.TH ram 4 (date) "Linux man-pages (unreleased)"
.SH NAME
ram \- ram disk device
.SH DESCRIPTION
diff --git a/man4/random.4 b/man4/random.4
index 7b5d2eee0..12c859248 100644
--- a/man4/random.4
+++ b/man4/random.4
@@ -9,7 +9,7 @@
.\" 2008-06-20, George Spelvin <linux@horizon.com>,
.\" Matt Mackall <mpm@selenic.com>
.\"
-.TH RANDOM 4 (date) "Linux man-pages (unreleased)"
+.TH random 4 (date) "Linux man-pages (unreleased)"
.SH NAME
random, urandom \- kernel random number source devices
.SH SYNOPSIS
diff --git a/man4/rtc.4 b/man4/rtc.4
index e72c3e7b1..769ff7804 100644
--- a/man4/rtc.4
+++ b/man4/rtc.4
@@ -8,7 +8,7 @@
.\" 2006-02-08 Various additions by mtk
.\" 2006-11-26 cleanup, cover the generic rtc framework; David Brownell
.\"
-.TH RTC 4 (date) "Linux man-pages (unreleased)"
+.TH rtc 4 (date) "Linux man-pages (unreleased)"
.SH NAME
rtc \- real-time clock
.SH SYNOPSIS
diff --git a/man4/sd.4 b/man4/sd.4
index 62580ebf7..691757e29 100644
--- a/man4/sd.4
+++ b/man4/sd.4
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH SD 4 (date) "Linux man-pages (unreleased)"
+.TH sd 4 (date) "Linux man-pages (unreleased)"
.SH NAME
sd \- driver for SCSI disk drives
.SH SYNOPSIS
diff --git a/man4/sk98lin.4 b/man4/sk98lin.4
index 5961caf68..6801b9ea1 100644
--- a/man4/sk98lin.4
+++ b/man4/sk98lin.4
@@ -5,7 +5,7 @@
.\"
.\" This manpage can be viewed using `groff -Tascii -man sk98lin.4 | less`
.\"
-.TH SK98LIN 4 (date) "Linux man-pages (unreleased)"
+.TH sk98lin 4 (date) "Linux man-pages (unreleased)"
.SH NAME
sk98lin \- Marvell/SysKonnect Gigabit Ethernet driver v6.21
.SH SYNOPSIS
diff --git a/man4/smartpqi.4 b/man4/smartpqi.4
index 409bcaeb2..a74bc207c 100644
--- a/man4/smartpqi.4
+++ b/man4/smartpqi.4
@@ -4,7 +4,7 @@
.\" Written by Kevin Barnett <kevin.barnett@microsemi.com>
.\"
.\" SPDX-License-Identifier: GPL-2.0-only
-.TH SMARTPQI 4 (date) "Linux man-pages (unreleased)"
+.TH smartpqi 4 (date) "Linux man-pages (unreleased)"
.SH NAME
smartpqi \- Microsemi Smart Family SCSI driver
.SH SYNOPSIS
diff --git a/man4/st.4 b/man4/st.4
index 4258b164c..68ea2ff40 100644
--- a/man4/st.4
+++ b/man4/st.4
@@ -2,7 +2,7 @@
.\" Copyright 1999-2005 Kai Mäkisara (Kai.Makisara@kolumbus.fi)
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
-.TH ST 4 (date) "Linux man-pages (unreleased)"
+.TH st 4 (date) "Linux man-pages (unreleased)"
.SH NAME
st \- SCSI tape device
.SH SYNOPSIS
diff --git a/man4/tty.4 b/man4/tty.4
index 2b6a2db96..139886844 100644
--- a/man4/tty.4
+++ b/man4/tty.4
@@ -6,7 +6,7 @@
.\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu)
.\" Modified 2003-04-07 by Michael Kerrisk
.\"
-.TH TTY 4 (date) "Linux man-pages (unreleased)"
+.TH tty 4 (date) "Linux man-pages (unreleased)"
.SH NAME
tty \- controlling terminal
.SH DESCRIPTION
diff --git a/man4/ttyS.4 b/man4/ttyS.4
index e2bb97bae..e5e47a66b 100644
--- a/man4/ttyS.4
+++ b/man4/ttyS.4
@@ -4,7 +4,7 @@
.\" SPDX-License-Identifier: GPL-2.0-or-later
.\"
.\" Modified Sat Jul 24 17:03:24 1993 by Rik Faith (faith@cs.unc.edu)
-.TH TTYS 4 (date) "Linux man-pages (unreleased)"
+.TH ttyS 4 (date) "Linux man-pages (unreleased)"
.SH NAME
ttyS \- serial terminal lines
.SH DESCRIPTION
diff --git a/man4/vcs.4 b/man4/vcs.4
index 675faad8f..9bda05d74 100644
--- a/man4/vcs.4
+++ b/man4/vcs.4
@@ -7,7 +7,7 @@
.\" 2007-12-17, Samuel Thibault <samuel.thibault@ens-lyon.org>:
.\" document the VT_GETHIFONTMASK ioctl
.\" "
-.TH VCS 4 (date) "Linux man-pages (unreleased)"
+.TH vcs 4 (date) "Linux man-pages (unreleased)"
.SH NAME
vcs, vcsa \- virtual console memory
.SH DESCRIPTION
diff --git a/man4/veth.4 b/man4/veth.4
index c85dd6ced..254ad32e8 100644
--- a/man4/veth.4
+++ b/man4/veth.4
@@ -5,7 +5,7 @@
.\" SPDX-License-Identifier: GPL-2.0-or-later
.\"
.\"
-.TH VETH 4 (date) "Linux man-pages (unreleased)"
+.TH veth 4 (date) "Linux man-pages (unreleased)"
.SH NAME
veth \- Virtual Ethernet Device
.SH DESCRIPTION
diff --git a/man4/wavelan.4 b/man4/wavelan.4
index 41822a4a5..45ac95f46 100644
--- a/man4/wavelan.4
+++ b/man4/wavelan.4
@@ -8,7 +8,7 @@
.\"
.\" SPDX-License-Identifier: GPL-1.0-or-later
.\"
-.TH WAVELAN 4 (date) "Linux man-pages (unreleased)"
+.TH wavelan 4 (date) "Linux man-pages (unreleased)"
.SH NAME
wavelan \- AT&T GIS WaveLAN ISA device driver
.SH SYNOPSIS