runtime(doc): Update examples in xxd.1 manpage

Signed-off-by: Antonio Giovanni Colombo <azc100@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Antonio Giovanni Colombo
2026-03-25 22:09:16 +00:00
committed by Christian Brabandt
parent 30f012d8bc
commit e09000a786
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -246,14 +246,14 @@ Print 3 lines (hex 0x30 bytes) from the end of
\fI% xxd \-s \-0x30 file\fR
.PP
Note: The results of the examples below are relevant to the xxd.1 man page as of
May 2024
March 2026
.PP
.br
Print 120 bytes as a continuous hex dump with 20 octets per line.
.br
\fI% xxd \-l 120 \-ps \-c 20 xxd.1\fR
.br
2e544820585844203120224d6179203230323422
2e544820585844203120224d6172203230323622
.br
20224d616e75616c207061676520666f72207878
.br
@@ -273,7 +273,7 @@ Hex dump the first 120 bytes of this man page with 12 octets per line.
.br
00000000: 2e54 4820 5858 4420 3120 224d .TH XXD 1 "M
.br
0000000c: 6179 2032 3032 3422 2022 4d61 ay 2024" "Ma
0000000c: 6172 2032 3032 3622 2022 4d61 ar 2026" "Ma
.br
00000018: 6e75 616c 2070 6167 6520 666f nual page fo
.br
+3 -3
View File
@@ -181,11 +181,11 @@ EXAMPLES
% xxd -s -0x30 file
Note: The results of the examples below are relevant to the xxd.1 man
page as of May 2024
page as of March 2026
Print 120 bytes as a continuous hex dump with 20 octets per line.
% xxd -l 120 -ps -c 20 xxd.1
2e544820585844203120224d6179203230323422
2e544820585844203120224d6172203230323622
20224d616e75616c207061676520666f72207878
64220a2e5c220a2e5c222032317374204d617920
313939360a2e5c22204d616e2070616765206175
@@ -195,7 +195,7 @@ EXAMPLES
Hex dump the first 120 bytes of this man page with 12 octets per line.
% xxd -l 120 -c 12 xxd.1
00000000: 2e54 4820 5858 4420 3120 224d .TH XXD 1 "M
0000000c: 6179 2032 3032 3422 2022 4d61 ay 2024" "Ma
0000000c: 6172 2032 3032 3622 2022 4d61 ar 2026" "Ma
00000018: 6e75 616c 2070 6167 6520 666f nual page fo
00000024: 7220 7878 6422 0a2e 5c22 0a2e r xxd"..\"..
00000030: 5c22 2032 3173 7420 4d61 7920 \" 21st May