summaryrefslogtreecommitdiffstats
path: root/debian/patches/man-macro-warnings.diff
blob: 60497ce7a97c195b0a8debc526e7e3a87a993050 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# DP: Move definition of the macro "FN" out of the region of the "ig"
# DP: macro.  Define macros and registers "zZ" and "zY".

--- a/doc/bash.1
+++ b/doc/bash.1
@@ -8,6 +8,22 @@
 .\"	Last Change: Mon Sep 19 11:13:21 EDT 2022
 .\"
 .\" bash_builtins, strip all but Built-Ins section
+.de zZ
+..
+.de zY
+..
+.\"
+.\" File Name macro.  This used to be `.PN', for Path Name,
+.\" but Sun doesn't seem to like that very much.
+.\"
+.de FN
+\fI\|\\$1\|\fP
+..
+.\" Number register zZ is defined in bash-builtins(7)
+.\" Number register zY is defined in rbash(1)
+.\" This man-page is included in them
+.if !rzZ .nr zZ 0 \" avoid a warning about an undefined register
+.if !rzY .nr zY 0 \" avoid a warning about an undefined register
 .if \n(zZ=1 .ig zZ
 .if \n(zY=1 .ig zY
 .TH BASH 1 "2022 September 19" "GNU Bash 5.2"
@@ -36,13 +52,6 @@
 .\" .el \\*(]X\h|\\n()Iu+\\n()Ru\c
 .\" .}f
 .\" ..
-.\"
-.\" File Name macro.  This used to be `.PN', for Path Name,
-.\" but Sun doesn't seem to like that very much.
-.\"
-.de FN
-\fI\|\\$1\|\fP
-..
 .SH NAME
 bash \- GNU Bourne-Again SHell
 .SH SYNOPSIS
@@ -2530,8 +2539,8 @@ and is set by the administrator who inst
 .BR bash .
 A common value is
 .na
-.if t \f(CW/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin\fP.
-.if n ``/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin''.
+.if t \f(CW/usr/local/bin:\:/usr/local/sbin:\:/usr/bin:\:/usr/sbin:\:/bin:\:/sbin\fP.
+.if n ``/usr/local/bin:\:/usr/local/sbin:\:/usr/bin:\:/usr/sbin:\:/bin:\:/sbin''.
 .ad
 .TP
 .B POSIXLY_CORRECT