Skip to content

Commit 05e732e

Browse files
committed
xxd: Update for 8.0.1658
1 parent 961389e commit 05e732e

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

runtime/doc/xxd-ja.UTF-8.1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@
7676
.RI < cols >
7777
オクテットで出力する。標準設定は 16 (\-i: 12, \-ps: 30, \-b: 6)。最大 256。
7878
.TP
79+
.IR \-C " | " \-capitalize
80+
\-i を使用した際に、C インクルードファイル形式の変数名を大文字にする。
81+
.TP
7982
.IR \-E " | " \-EBCDIC
8083
右端に出力される文字のエンコーディングを ASCII から EBCDIC に変更する。
8184
16 進ダンプの出力形式は変更されません。

runtime/doc/xxd.1

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ are all equivalent.
5757
.PP
5858
.TP
5959
.IR \-a " | " \-autoskip
60-
toggle autoskip: A single '*' replaces nul-lines. Default off.
60+
Toggle autoskip: A single '*' replaces nul-lines. Default off.
6161
.TP
6262
.IR \-b " | " \-bits
6363
Switch to bits (binary digits) dump, rather than hexdump.
@@ -67,10 +67,13 @@ followed by an ascii (or ebcdic) representation. The command line switches
6767
\-r, \-p, \-i do not work with this mode.
6868
.TP
6969
.IR "\-c cols " | " \-cols cols"
70-
format
70+
Format
7171
.RI < cols >
7272
octets per line. Default 16 (\-i: 12, \-ps: 30, \-b: 6). Max 256.
7373
.TP
74+
.IR \-C " | " \-capitalize
75+
Capitalize variable names in C include file style, when using \-i.
76+
.TP
7477
.IR \-E " | " \-EBCDIC
7578
Change the character encoding in the righthand column from ASCII to EBCDIC.
7679
This does not change the hexadecimal representation. The option is
@@ -87,7 +90,7 @@ The command line switches
8790
\-r, \-p, \-i do not work with this mode.
8891
.TP
8992
.IR "\-g bytes " | " \-groupsize bytes"
90-
separate the output of every
93+
Separate the output of every
9194
.RI < bytes >
9295
bytes (two hex characters or eight bit-digits each) by a whitespace.
9396
Specify
@@ -98,28 +101,28 @@ in normal mode, \fI4\fP in little-endian mode and \fI1\fP in bits mode.
98101
Grouping does not apply to postscript or include style.
99102
.TP
100103
.IR \-h " | " \-help
101-
print a summary of available commands and exit. No hex dumping is performed.
104+
Print a summary of available commands and exit. No hex dumping is performed.
102105
.TP
103106
.IR \-i " | " \-include
104-
output in C include file style. A complete static array definition is written
107+
Output in C include file style. A complete static array definition is written
105108
(named after the input file), unless xxd reads from stdin.
106109
.TP
107110
.IR "\-l len " | " \-len len"
108-
stop after writing
111+
Stop after writing
109112
.RI < len >
110113
octets.
111114
.TP
112115
.I \-o offset
113-
add
116+
Add
114117
.RI < offset >
115118
to the displayed file position.
116119
.TP
117120
.IR \-p " | " \-ps " | " \-postscript " | " \-plain
118-
output in postscript continuous hexdump style. Also known as plain hexdump
121+
Output in postscript continuous hexdump style. Also known as plain hexdump
119122
style.
120123
.TP
121124
.IR \-r " | " \-revert
122-
reverse operation: convert (or patch) hexdump into binary.
125+
Reverse operation: convert (or patch) hexdump into binary.
123126
If not writing to stdout, xxd writes into its output file without truncating
124127
it. Use the combination
125128
.I \-r \-p
@@ -135,7 +138,7 @@ revert with
135138
added to file positions found in hexdump.
136139
.TP
137140
.I \-s [+][\-]seek
138-
start at
141+
Start at
139142
.RI < seek >
140143
bytes abs. (or rel.) infile offset.
141144
\fI+ \fRindicates that the seek is relative to the current stdin file position
@@ -145,10 +148,10 @@ should be that many characters from the end of the input (or if combined with
145148
Without \-s option, xxd starts at the current file position.
146149
.TP
147150
.I \-u
148-
use upper case hex letters. Default is lower case.
151+
Use upper case hex letters. Default is lower case.
149152
.TP
150153
.IR \-v " | " \-version
151-
show version string.
154+
Show version string.
152155
.SH CAVEATS
153156
.PP
154157
.I xxd \-r

0 commit comments

Comments
 (0)