Package: patchutils
Version: 0.4.2-1
Severity: minor
Tags: patch

   * What led up to the situation?

     Checking for defects with a new version

test-[g|n]roff -mandoc -t -K utf8 -rF0 -rHY=0 -rCHECKSTYLE=10 -ww -z < "man 
page"

  [Use "groff -e ' $' <file>" to find trailing spaces.]

  ["test-groff" is a script in the repository for "groff"; is not shipped]
(local copy and "troff" slightly changed by me).

  [The fate of "test-nroff" was decided in groff bug #55941.]

   * What was the outcome of this action?

troff:<stdin>:366: warning: trailing space in the line

   * What outcome did you expect instead?

     No output (no warnings).

-.-

  General remarks and further material, if a diff-file exist, are in the
attachments.


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.6-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), 
LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages patchutils depends on:
ii  libc6           2.40-4
ii  patch           2.7.6-7
ii  perl            5.40.0-8
ii  sensible-utils  0.0.24

patchutils recommends no packages.

patchutils suggests no packages.

-- no debconf information
Input file is patchview.1

  Any program (person), that produces man pages, should check the output
for defects by using (both groff and nroff)

[gn]roff -mandoc -t -ww -b -z -K utf8  <man page>

  The same goes for man pages that are used as an input.

  For a style guide use

  mandoc -T lint

-.-

  So any 'generator' should check its products with the above mentioned
'groff', 'mandoc',  and additionally with 'nroff ...'.

  This is just a simple quality control measure.

  The 'generator' may have to be corrected to get a better man page,
the source file may, and any additional file may.

  Common defects:

  Input text line longer than 80 bytes.

  Not removing trailing spaces (in in- and output).
  The reason for these trailing spaces should be found and eliminated.

  Not beginning each input sentence on a new line.
Lines should thus be shorter.

  See man-pages(7), item 'semantic newline'.

-.-

The difference between the formatted output of the original and patched file
can be seen with:

  nroff -mandoc <file1> > <out1>
  nroff -mandoc <file2> > <out2>
  diff -u <out1> <out2>

and for groff, using

"printf '%s\n%s\n' '.kern 0' '.ss 12 0' | groff -mandoc -Z - "

instead of 'nroff -mandoc'

  Add the option '-t', if the file contains a table.

  Read the output of 'diff -u' with 'less -R' or similar.

-.-.

  If 'man' (man-db) is used to check the manual for warnings,
the following must be set:

  The option "-warnings=w"

  The environmental variable:

export MAN_KEEP_STDERR=yes (or any non-empty value)

  or

  (produce only warnings):

export MANROFFOPT="-ww -b -z"

export MAN_KEEP_STDERR=yes (or any non-empty value)


-.-.

Output from "mandoc -T lint  patchview.1": (shortened list)

     15 input text line longer than 80 bytes
      5 skipping paragraph macro
      1 whitespace at end of input line

-.-.

Output from "test-groff -mandoc -t -ww -z patchview.1": (shortened list)

      1 trailing space in the line

-.-.

Remove space characters (whitespace) at the end of lines.
Use "git apply ... --whitespace=fix" to fix extra space issues, or use
global configuration "core.whitespace".

Number of lines affected is

2

-.-.

Wrong distance between sentences in the input file.

  Separate the sentences and subordinate clauses; each begins on a new
line.  See man-pages(7) ("Conventions for source file layout") and
"info groff" ("Input Conventions").

  The best procedure is to always start a new sentence on a new line,
at least, if you are typing on a computer.

Remember coding: Only one command ("sentence") on each (logical) line.

E-mail: Easier to quote exactly the relevant lines.

Generally: Easier to edit the sentence.

Patches: Less unaffected text.

Search for two adjacent words is easier, when they belong to the same line,
and the same phrase.

  The amount of space between sentences in the output can then be
controlled with the ".ss" request.

Mark a final abbreviation point as such by suffixing it with "\&".


31:patchview \- Without options, show numbered files modified by the patch\&. 
With options, behave as filterdiff\&.
39:So what is patchview? It is a wrapper of filterdiff for use with numbered 
files\&.
166:Display the line number that each patch begins at\&. If verbose output is 
requested (using
171:character, followed by the name of the file that is modified\&. If
198:\fIRANGE\fR\&. Hunks are numbered from 1, and the range is a 
comma\-separated list of numbers or
206:\fIRANGE\fR\&. Lines are numbered from 1, and the range is a 
comma\-separated list of numbers or
214:\fIRANGE\fR\&. Files are numbered from 1 in the order they appear in the 
patch input, and the range is a comma\-separated list of numbers or
242:Show file additions, modifications and removals\&. A file addition is 
indicated by a
320:diff \&.\&./trunk \&. \-ru \-x \&.svn | patchview "$@"

-.-.

Split lines longer than 80 characters into two or more lines.
Appropriate break points are the end of a sentence and a subordinate
clause; after punctuation marks.

N.B.

  The number of lines affected can be too large to be in a patch.

Line 31, length 112

patchview \- Without options, show numbered files modified by the patch\&. With 
options, behave as filterdiff\&.

Line 34, length 556

\fBpatchview\fR [[\-n] | [\-\-line\-number]] [[\-p\ \fIn\fR] | 
[\-\-strip\-match=\fIn\fR]] [\-\-strip=\fIn\fR] [\-\-addprefix=\fIPREFIX\fR] 
[[\-s] | [\-\-status]] [[\-E] | [\-\-empty\-files\-as\-removed]] [[\-i\ 
\fIPATTERN\fR] | [\-\-include=\fIPATTERN\fR]] [[\-x\ \fIPATTERN\fR] | 
[\-\-exclude=\fIPATTERN\fR]] [[\-z] | [\-\-decompress]] [[\-#\ \fIRANGE\fR] | 
[\-\-hunks=\fIRANGE\fR]] [\-\-lines=\fIRANGE\fR] [[\-F\fIRANGE\fR] | 
[\-\-files=\fIRANGE\fR]] [[\-H] | [\-\-with\-filename]] [[\-h] | 
[\-\-no\-filename]] [[\-v] | [\-\-verbose]...] [\fIfile\fR...]

Line 36, length 94

\fBpatchview\fR {[\-\-help] | [\-\-version] | [\-\-filter\ \&.\&.\&.] | 
[\-\-grep\ \&.\&.\&.]}

Line 39, length 82

So what is patchview? It is a wrapper of filterdiff for use with numbered 
files\&.

Line 63, length 97

(or with any other args) is equivalent to: filterdiff \-F2\- (or whatever 
arguments are supplied)

Line 65, length 113

There are two scripts for working with git (gitdiff and gitdiffview) and two 
for svn (svndiff and svndiffview)\&.

Line 137, length 122

pipe all patches through filterdiff to vim \- \-R (in read\-only mode, easy to 
quit), showing complete patch with color\&.

Line 166, length 90

Display the line number that each patch begins at\&. If verbose output is 
requested (using

Line 169, length 123

For each file that is modified, a line is generated containing the line number 
of the beginning of the patch, followed by a

Line 173, length 92

is given once, following each of these lines will be one line for each hunk, 
consisting of a

Line 185, length 117

\fB\-nvv\fR), the format is slightly different: hunk\-level descriptive text is 
shown after each hunk number, and the

Line 198, length 96

\fIRANGE\fR\&. Hunks are numbered from 1, and the range is a comma\-separated 
list of numbers or

Line 200, length 182

spans, optionally preceded by a modifier \*(Aqx\*(Aq which inverts the entire 
range; either the first or the last in the span may be omitted to indicate no 
limit in that direction\&.

Line 205, length 87

Only list hunks that contain lines from the original file that lie within the 
specified

Line 206, length 96

\fIRANGE\fR\&. Lines are numbered from 1, and the range is a comma\-separated 
list of numbers or

Line 208, length 182

spans, optionally preceded by a modifier \*(Aqx\*(Aq which inverts the entire 
range; either the first or the last in the span may be omitted to indicate no 
limit in that direction\&.

Line 214, length 140

\fIRANGE\fR\&. Files are numbered from 1 in the order they appear in the patch 
input, and the range is a comma\-separated list of numbers or

Line 216, length 182

spans, optionally preceded by a modifier \*(Aqx\*(Aq which inverts the entire 
range; either the first or the last in the span may be omitted to indicate no 
limit in that direction\&.

Line 242, length 84

Show file additions, modifications and removals\&. A file addition is indicated 
by a

Line 250, length 103

Treat empty files as absent for the purpose of displaying file additions, 
modifications and removals\&.

Line 314, length 146

We can make the following one\-line script with the name difftotrunk\&.sh, to 
view the differences of two directories or svn repos (trunk and \&.)

Line 342, length 82

\&./difftotrunk\&.sh \-F3,4 , will show the differences of files #3 and #4 
only\&.

Line 366, length 114

\&./difftotrunk\&.sh \-F3 \-#x1 , will show the differences of files #3 without 
hunk #1 (x means that exclude)\&. 


-.-.

Show if docman-to-man created this

4:.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>

-.-.

Put a parenthetical sentence, phrase on a separate line,
if not part of a code.
See man-pages(7), item "semantic newline".
Not considered in a patch, too many lines.


patchview.1:63:(or with any other args) is equivalent to: filterdiff \-F2\- (or 
whatever arguments are supplied)
patchview.1:65:There are two scripts for working with git (gitdiff and 
gitdiffview) and two for svn (svndiff and svndiffview)\&.
patchview.1:137:pipe all patches through filterdiff to vim \- \-R (in 
read\-only mode, easy to quit), showing complete patch with color\&.
patchview.1:178:\(lqHunk #\(rq, and the hunk number (starting at 1)\&.
patchview.1:314:We can make the following one\-line script with the name 
difftotrunk\&.sh, to view the differences of two directories or svn repos 
(trunk and \&.)
patchview.1:366:\&./difftotrunk\&.sh \-F3 \-#x1 , will show the differences of 
files #3 without hunk #1 (x means that exclude)\&. 

-.-.

No need for "\&" to be in front of a period (.),
if there is a character in front of it

31:patchview \- Without options, show numbered files modified by the patch\&. 
With options, behave as filterdiff\&.
166:Display the line number that each patch begins at\&. If verbose output is 
requested (using
171:character, followed by the name of the file that is modified\&. If
184:(i\&.e\&.
242:Show file additions, modifications and removals\&. A file addition is 
indicated by a
267:Decompress files with extensions \&.gz and \&.bz2\&.
314:We can make the following one\-line script with the name difftotrunk\&.sh, 
to view the differences of two directories or svn repos (trunk and \&.)
320:diff \&.\&./trunk \&. \-ru \-x \&.svn | patchview "$@"

-.-.

Output from "test-groff  -mandoc -t -K utf8 -rF0 -rHY=0 -rCHECKSTYLE=10 -ww -z 
":

troff:<stdin>:366: warning: trailing space in the line

-.-

  Change "first\-last" to "first\(enlast" (minus to en-dash (for a range))

  Additionally (general):

  Abbreviations get a '\&' added after their final full stop (.) to mark them
as such and not as an end of a sentence.

  There is no need to add a '\&' before a full stop (.) if it has a character
before it!
--- patchview.1 2024-12-30 18:59:23.394188302 +0000
+++ patchview.1.new     2024-12-30 19:47:20.381936576 +0000
@@ -1,6 +1,6 @@
 '\" t
 .\"     Title: patchview
-.\"    Author: 
+.\"    Author:
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
 .\"      Date: 02 Jul 2020
 .\"    Manual: Man pages
@@ -28,15 +28,22 @@
 .\" * MAIN CONTENT STARTS HERE *
 .\" -----------------------------------------------------------------
 .SH "NAME"
-patchview \- Without options, show numbered files modified by the patch\&. 
With options, behave as filterdiff\&.
+patchview \- Without options, show numbered files modified by the patch.
+With options, behave as filterdiff.
 .SH "SYNOPSIS"
 .HP \w'\fBpatchview\fR\ 'u
-\fBpatchview\fR [[\-n] | [\-\-line\-number]] [[\-p\ \fIn\fR] | 
[\-\-strip\-match=\fIn\fR]] [\-\-strip=\fIn\fR] [\-\-addprefix=\fIPREFIX\fR] 
[[\-s] | [\-\-status]] [[\-E] | [\-\-empty\-files\-as\-removed]] [[\-i\ 
\fIPATTERN\fR] | [\-\-include=\fIPATTERN\fR]] [[\-x\ \fIPATTERN\fR] | 
[\-\-exclude=\fIPATTERN\fR]] [[\-z] | [\-\-decompress]] [[\-#\ \fIRANGE\fR] | 
[\-\-hunks=\fIRANGE\fR]] [\-\-lines=\fIRANGE\fR] [[\-F\fIRANGE\fR] | 
[\-\-files=\fIRANGE\fR]] [[\-H] | [\-\-with\-filename]] [[\-h] | 
[\-\-no\-filename]] [[\-v] | [\-\-verbose]...] [\fIfile\fR...]
+\fBpatchview\fR [[\-n] | [\-\-line\-number]] [[\-p\ \fIn\fR] |
+[\-\-strip\-match=\fIn\fR]] [\-\-strip=\fIn\fR] [\-\-addprefix=\fIPREFIX\fR]
+[[\-s] | [\-\-status]] [[\-E] | [\-\-empty\-files\-as\-removed]] [[\-i
+\fIPATTERN\fR] | [\-\-include=\fIPATTERN\fR]] [[\-x\ \fIPATTERN\fR] |
+[\-\-exclude=\fIPATTERN\fR]] [[\-z] | [\-\-decompress]] [[\-#\ \fIRANGE\fR] |
+[\-\-hunks=\fIRANGE\fR]] [\-\-lines=\fIRANGE\fR] [[\-F\fIRANGE\fR] |
+[\-\-files=\fIRANGE\fR]] [[\-H] | [\-\-with\-filename]] [[\-h] |
+[\-\-no\-filename]] [[\-v] | [\-\-verbose]...] [\fIfile\fR...]
 .HP \w'\fBpatchview\fR\ 'u
-\fBpatchview\fR {[\-\-help] | [\-\-version] | [\-\-filter\ \&.\&.\&.] | 
[\-\-grep\ \&.\&.\&.]}
+\fBpatchview\fR {[\-\-help] | [\-\-version] | [\-\-filter\ ...] | [\-\-grep\ 
...]}
 .SH "DESCRIPTION"
-.PP
-So what is patchview? It is a wrapper of filterdiff for use with numbered 
files\&.
+So what is patchview? It is a wrapper of filterdiff for use with numbered 
files.
 .sp
 .if n \{\
 .RS 4
@@ -60,9 +67,15 @@ patchview \-F2\-
 .RE
 .\}
 .sp
-(or with any other args) is equivalent to: filterdiff \-F2\- (or whatever 
arguments are supplied)
-.PP
-There are two scripts for working with git (gitdiff and gitdiffview) and two 
for svn (svndiff and svndiffview)\&.
+(or with any other args)
+is equivalent to:
+filterdiff \-F2\-
+(or whatever arguments are supplied)
+.PP
+There are two scripts for working with git
+(gitdiff and gitdiffview)
+and two for svn
+(svndiff and svndiffview).
 .sp
 .if n \{\
 .RS 4
@@ -74,8 +87,6 @@ svndiff
 .RE
 .\}
 .sp
-
-.sp
 .if n \{\
 .RS 4
 .\}
@@ -98,8 +109,6 @@ svndiff \-F1
 .RE
 .\}
 .sp
-
-.sp
 .if n \{\
 .RS 4
 .\}
@@ -122,8 +131,6 @@ svndiffview
 .RE
 .\}
 .sp
-
-.sp
 .if n \{\
 .RS 4
 .\}
@@ -134,7 +141,9 @@ gitdiffview
 .RE
 .\}
 .sp
-pipe all patches through filterdiff to vim \- \-R (in read\-only mode, easy to 
quit), showing complete patch with color\&.
+pipe all patches through filterdiff to vim \- \-R
+(in read\-only mode, easy to quit),
+showing complete patch with color.
 .PP
 .if n \{\
 .RS 4
@@ -146,8 +155,6 @@ svndiffview \-F2
 .RE
 .\}
 .sp
-
-.sp
 .if n \{\
 .RS 4
 .\}
@@ -160,164 +167,189 @@ gitdiffview \-F2
 .sp
 (or any other args) will pipe patch of file #2 to vim \- \-R
 .SH "OPTIONS"
-.PP
 \fB\-n\fR, \fB\-\-line\-number\fR
 .RS 4
-Display the line number that each patch begins at\&. If verbose output is 
requested (using
-\fB\-nv\fR), each hunk of each patch is listed as well\&.
-.sp
-For each file that is modified, a line is generated containing the line number 
of the beginning of the patch, followed by a
-Tab
-character, followed by the name of the file that is modified\&. If
+Display the line number
+that each patch begins at.
+If verbose output is requested
+(using \fB\-nv\fR),
+each hunk of each patch is listed as well.
+.sp
+For each file that is modified,
+a line is generated containing the line number of the beginning of the patch,
+followed by a Tab character,
+followed by the name of the file that is modified.
+If
 \fB\-v\fR
-is given once, following each of these lines will be one line for each hunk, 
consisting of a
-Tab
-character, the line number that the hunk begins at, another
-Tab
-character, the string
-\(lqHunk #\(rq, and the hunk number (starting at 1)\&.
+is given once,
+following each of these lines will be one line for each hunk,
+consisting of a Tab character,
+the line number that the hunk begins at,
+another Tab character,
+the string \(lqHunk #\(rq,
+and the hunk number (starting at 1).
 .sp
 If the
 \fB\-v\fR
 is given twice in conjunction with
 \fB\-n\fR
-(i\&.e\&.
-\fB\-nvv\fR), the format is slightly different: hunk\-level descriptive text 
is shown after each hunk number, and the
-\fB\-\-number\-files\fR
-option is enabled\&.
+(i.e.,
+\fB\-nvv\fR),
+the format is slightly different:
+hunk\-level descriptive text is shown after each hunk number,
+and the \fB\-\-number\-files\fR option is enabled.
 .RE
 .PP
 \fB\-N\fR, \fB\-\-number\-files\fR
 .RS 4
-File numbers are listed, beginning at 1, before each filename\&.
+File numbers are listed, beginning at 1, before each filename.
 .RE
 .PP
 \fB\-#\fR \fIRANGE\fR, \fB\-\-hunks\fR=\fIRANGE\fR
 .RS 4
 Only list hunks within the specified
-\fIRANGE\fR\&. Hunks are numbered from 1, and the range is a comma\-separated 
list of numbers or
-\(lqfirst\-last\(rq
-spans, optionally preceded by a modifier \*(Aqx\*(Aq which inverts the entire 
range; either the first or the last in the span may be omitted to indicate no 
limit in that direction\&.
+\fIRANGE\fR.
+Hunks are numbered from 1,
+and the range is a comma\-separated list of numbers or \(lqfirst\(enlast\(rq
+spans,
+optionally preceded by a modifier \*(Aqx\*(Aq
+which inverts the entire range;
+either the first
+or the last in the span
+may be omitted to indicate no limit in that direction.
 .RE
 .PP
 \fB\-\-lines\fR=\fIRANGE\fR
 .RS 4
-Only list hunks that contain lines from the original file that lie within the 
specified
-\fIRANGE\fR\&. Lines are numbered from 1, and the range is a comma\-separated 
list of numbers or
-\(lqfirst\-last\(rq
-spans, optionally preceded by a modifier \*(Aqx\*(Aq which inverts the entire 
range; either the first or the last in the span may be omitted to indicate no 
limit in that direction\&.
+Only list hunks
+that contain lines from the original file
+that lie within the specified \fIRANGE\fR.
+Lines are numbered from 1,
+and the range is a comma\-separated list of numbers or
+\(lqfirst\(enlast\(rq spans,
+optionally preceded by a modifier \*(Aqx\*(Aq
+which inverts the entire range;
+either the first or the last in the span
+may be omitted to indicate no limit in that direction.
 .RE
 .PP
 \fB\-F\fR=\fIRANGE\fR, \fB\-\-files\fR=\fIRANGE\fR
 .RS 4
 Only list files indicated by the specified
-\fIRANGE\fR\&. Files are numbered from 1 in the order they appear in the patch 
input, and the range is a comma\-separated list of numbers or
-\(lqfirst\-last\(rq
-spans, optionally preceded by a modifier \*(Aqx\*(Aq which inverts the entire 
range; either the first or the last in the span may be omitted to indicate no 
limit in that direction\&.
+\fIRANGE\fR.
+Files are numbered from 1 in the order they appear in the patch input,
+and the range is a comma\-separated list of numbers or
+\(lqfirst\(enlast\(rq spans,
+optionally preceded by a modifier \*(Aqx\*(Aq
+which inverts the entire range;
+either the first or the last in the span
+may be omitted to indicate no limit in that direction.
 .RE
 .PP
 \fB\-p\fR \fIn\fR, \fB\-\-strip\-match=\fR\fB\fIn\fR\fR
 .RS 4
 When matching, ignore the first
 \fIn\fR
-components of the pathname\&.
+components of the pathname.
 .RE
 .PP
 \fB\-\-strip\fR=\fIn\fR
 .RS 4
 Remove the first
 \fIn\fR
-components of the pathname before displaying it\&.
+components of the pathname before displaying it.
 .RE
 .PP
 \fB\-\-addprefix\fR=\fIPREFIX\fR
 .RS 4
 Prefix the pathname with
 \fIPREFIX\fR
-before displaying it\&.
+before displaying it.
 .RE
 .PP
 \fB\-s\fR, \fB\-\-status\fR
 .RS 4
-Show file additions, modifications and removals\&. A file addition is 
indicated by a
+Show file additions,
+modifications and removals.
+A file addition is indicated by a
 \(lq+\(rq, a removal by a
 \(lq\-\(rq, and a modification by a
-\(lq!\(rq\&.
+\(lq!\(rq.
 .RE
 .PP
 \fB\-E\fR, \fB\-\-empty\-files\-as\-removed\fR
 .RS 4
-Treat empty files as absent for the purpose of displaying file additions, 
modifications and removals\&.
+Treat empty files as absent for the purpose of displaying file additions,
+modifications and removals.
 .RE
 .PP
 \fB\-i\fR \fIPATTERN\fR, \fB\-\-include=\fR\fB\fIPATTERN\fR\fR
 .RS 4
 Include only files matching
-\fIPATTERN\fR\&.
+\fIPATTERN\fR.
 .RE
 .PP
 \fB\-x\fR \fIPATTERN\fR, \fB\-\-exclude=\fR\fB\fIPATTERN\fR\fR
 .RS 4
 Exclude files matching
-\fIPATTERN\fR\&.
+\fIPATTERN\fR.
 .RE
 .PP
 \fB\-z\fR, \fB\-\-decompress\fR
 .RS 4
-Decompress files with extensions \&.gz and \&.bz2\&.
+Decompress files with extensions .gz and .bz2.
 .RE
 .PP
 \fB\-H\fR, \fB\-\-with\-filename\fR
 .RS 4
-Print the name of the patch file containing each patch\&.
+Print the name of the patch file containing each patch.
 .RE
 .PP
 \fB\-h\fR, \fB\-\-no\-filename\fR
 .RS 4
-Suppress the name of the patch file containing each patch\&.
+Suppress the name of the patch file containing each patch.
 .RE
 .PP
 \fB\-v\fR, \fB\-\-verbose\fR
 .RS 4
-Verbose output\&.
+Verbose output.
 .RE
 .PP
 \fB\-\-help\fR
 .RS 4
-Display a short usage message\&.
+Display a short usage message.
 .RE
 .PP
 \fB\-\-version\fR
 .RS 4
-Display the version number of patchview\&.
+Display the version number of patchview.
 .RE
 .PP
 \fB\-\-filter\fR
 .RS 4
 Behave like
 \fBfilterdiff\fR(1)
-instead\&.
+instead.
 .RE
 .PP
 \fB\-\-grep\fR
 .RS 4
 Behave like
 \fBgrepdiff\fR(1)
-instead\&.
+instead.
 .RE
 .SH "SEE ALSO"
-.PP
 \fBlsdiff\fR(1),\fBfilterdiff\fR(1),
 \fBgrepdiff\fR(1)
 .SH "EXAMPLES"
-.PP
-We can make the following one\-line script with the name difftotrunk\&.sh, to 
view the differences of two directories or svn repos (trunk and \&.)
+We can make the following one\-line script with the name difftotrunk.sh,
+to view the differences of two directories or svn repos (trunk and .)
 .sp
 .if n \{\
 .RS 4
 .\}
 .nf
-diff \&.\&./trunk \&. \-ru \-x \&.svn | patchview "$@"
+diff ../trunk . \-ru \-x .svn | patchview "$@"
 .fi
 .if n \{\
 .RE
@@ -327,50 +359,44 @@ diff \&.\&./trunk \&. \-ru \-x \&.svn |
 .RS 4
 .\}
 .nf
-\&./difftotrunk\&.sh , will show all different files and his number\&.
+\&./difftotrunk.sh , will show all different files and his number.
 .fi
 .if n \{\
 .RE
 .\}
 .sp
-
-.sp
 .if n \{\
 .RS 4
 .\}
 .nf
-\&./difftotrunk\&.sh \-F3,4 , will show the differences of files #3 and #4 
only\&.
+\&./difftotrunk.sh \-F3,4 , will show the differences of files #3 and #4 only.
 .fi
 .if n \{\
 .RE
 .\}
 .sp
-
-.sp
 .if n \{\
 .RS 4
 .\}
 .nf
-\&./difftotrunk\&.sh \-F3 \-#1 , will show only hunk #1 of file #3\&.
+\&./difftotrunk.sh \-F3 \-#1 , will show only hunk #1 of file #3.
 .fi
 .if n \{\
 .RE
 .\}
 .sp
-
-.sp
 .if n \{\
 .RS 4
 .\}
 .nf
-\&./difftotrunk\&.sh \-F3 \-#x1 , will show the differences of files #3 
without hunk #1 (x means that exclude)\&. 
+\&./difftotrunk.sh \-F3 \-#x1 , will show the differences of files #3
+without hunk #1 (x means that exclude).
 .fi
 .if n \{\
 .RE
 .\}
 .sp
 .SH "AUTHOR"
-.PP
 \fBTim Waugh\fR <\&twa...@redhat.com\&>
 .RS 4
 Package maintainer

Reply via email to