Skip to contentSkip to conversation

copyfilerange(man): fix swapped offsets in command example

PATCH In review Štěpán Němec 4 participants 6 messages Apr 20 – Apr 27 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 copyfilerange(man): fix swapped offsets in command example

---
 misc-utils/copyfilerange.1.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
misc-utils/copyfilerange.1.adoc +1 -1
index 303a1a7b25e2..89b95e9516fa 100644
@@ -71,7 +71,7 @@
 
 copyfilerange split-first-mb join ::
 
-copyfilerange split-remainder join 1M::
+copyfilerange split-remainder join :1M:
 ....
 
 == SEE ALSO

base-commit: 2f0a4512ea813b050172207c88ddfa9ace12d830

Signature · 1 line
2.53.0
#1 lore raw

Thanks Štěpán,

I mixed up, thanks for correcting this!

greetings,
Dick Marinus

Quoting Štěpán Němec (2026-04-20 20:05:28)

Quoted 24 lines
---
 misc-utils/copyfilerange.1.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
misc-utils/copyfilerange.1.adoc +1 -1
index 303a1a7b25e2..89b95e9516fa 100644
@@ -71,7 +71,7 @@
 
 copyfilerange split-first-mb join ::
 
-copyfilerange split-remainder join 1M::
+copyfilerange split-remainder join :1M:
....
 
 == SEE ALSO

base-commit: 2f0a4512ea813b050172207c88ddfa9ace12d830

Signature · 1 line
2.53.0
#2 lore raw
In reply to Štěpán Němec

Op 20-04-2026 om 20:05 schreef Štěpán Němec:

Quoted 1 line

[...]

The convention for the subject line when man pages are affected is:

program: (man) description of change

So in this case:

copyfilerange: (man) fix swapped offsets in command example

Otherwise it looks as if copyfilerange is a function that is called with man as argument.

Benno

#3 lore raw

PATCH 1/1 copyfilerange: (man) fix swapped offsets in command example

---

Quoted 3 lines · On Wed, 22 Apr 2026 08:17:46 +0200 Benno Schulenberg wrote:

The convention for the subject line when man pages are affected is:

program: (man) description of change

Interesting.

I did recheck both Documentation/howto-contribute.txt and recent man page commits before sending the patch, and, having failed to identify clear guidance, went with the pattern that made more sense to me.

That said, I see now that, had I gone more quantitative about it, I might have picked the one you prefer :-D

; git log | grep -c '(man): '
21
; git log | grep -c ': (man)'
289

Unfortunately I didn't.

In any case, if the preference is felt strongly enough to require rerolls just for that, I believe it would make a great addition to howto-contribute.txt (or at least applying it consistently in the actual project commit messages; the most recent '(man): ' is from 19. 4.).

Thanks,

Štěpán

 misc-utils/copyfilerange.1.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
misc-utils/copyfilerange.1.adoc +1 -1
index 303a1a7b25e2..89b95e9516fa 100644
@@ -71,7 +71,7 @@
 
 copyfilerange split-first-mb join ::
 
-copyfilerange split-remainder join 1M::
+copyfilerange split-remainder join :1M:
 ....
 
 == SEE ALSO

base-commit: fff8c59c75355d365a69f86719e7bd7818c1daf4

Signature · 1 line
2.53.0
#4 lore raw

Re: [PATCH] copyfilerange: (man) fix swapped offsets in command example

Op 22-04-2026 om 20:25 schreef Štěpán Němec:

Quoted 2 lines

---

Thanks for the tweaked re-submission.

Quoted 7 lines

That said, I see now that, had I gone more quantitative about it, I might have picked the one you prefer :-D

; git log | grep -c '(man): '
21
; git log | grep -c ': (man)'
289

That counts also the occurrences of those strings in the body of the commit messages. Using --oneline would be more accurate:

$ git log --oneline | grep -c '(man): '
10
$ git log --oneline | grep -c ': (man)'
207

Those ten occurrences are all from the last three weeks. When running those same commands for v2.42, the first count is zero.

Quoted 3 lines

In any case, if the preference is felt strongly enough to require rerolls just for that, I believe it would make a great addition to howto-contribute.txt

Good idea. Will post a patch for that.

Benno

maintainer
#5 lore raw

Re: [PATCH] copyfilerange: (man) fix swapped offsets in command example

Quoted 6 lines · Benno Schulenberg

Op 22-04-2026 om 20:25 schreef Štěpán Němec:

Quoted 2 lines

---

Thanks for the tweaked re-submission.

The patch has been applied. Thanks Štěpán.

Quoted 5 lines
Quoted 3 lines

In any case, if the preference is felt strongly enough to require rerolls just for that, I believe it would make a great addition to howto-contribute.txt

Good idea. Will post a patch for that.

+1

Karel

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com