Skip to content

Commit ac14ba0

Browse files
committed
Merge pull request #28 from vim-jp/update-manpages
Update manpages
2 parents 8ba1931 + 272eb6a commit ac14ba0

File tree

4 files changed

+35
-4
lines changed

4 files changed

+35
-4
lines changed

runtime/doc/vim-ja.UTF-8.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ Note: "+" と "\-c" は合わせて 10 個まで指定できます。
159159
.TP
160160
\-b
161161
バイナリモード。
162-
バイナリファイルを編集ためのオプションがいくつか設定されます
162+
バイナリファイルを編集するためのオプションがいくつか設定されます
163163
.TP
164164
\-C
165165
互換モード。'compatible' オプションがオンになります。

runtime/doc/vim.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ For the first file the cursor will be positioned on line "num".
135135
If "num" is missing, the cursor will be positioned on the last line.
136136
.TP
137137
+/{pat}
138-
For the first file the cursor will be positioned on the
138+
For the first file the cursor will be positioned in the line with the
139139
first occurrence of {pat}.
140140
See ":help search\-pattern" for the available search patterns.
141141
.TP

runtime/doc/xxd-ja.UTF-8.1

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,16 @@
6161
行末には ascii (または ebcdic) で表した場合の文字が表示されます。
6262
このモードでは \-r、\-p、\-i は機能しません。
6363
.TP
64+
.IR \-e
65+
リトルエンディアンの 16 進ダンプに切り替える。
66+
このオプションは、バイトのグループをリトルエンディアンのバイト順のワードとして
67+
扱います。標準のグルーピングは 4 バイトですが、
68+
.RI "" \-g
69+
を使うことで変更可能です。
70+
このオプションは 16 進ダンプのみに適用され、ASCII (あるいは EBCDIC) 表示は
71+
変更されません。
72+
このモードでは \-r、\-p、\-i は機能しません。
73+
.TP
6474
.IR "\-c cols " | " \-cols cols"
6575
一行
6676
.RI < cols >
@@ -80,7 +90,8 @@
8090
.I \-g 0
8191
を指定してください。
8292
.RI < Bytes >
83-
の標準設定は \fI2\fP です。2 進ダンプの場合は \fI1\fP です。
93+
の標準設定は \fI2\fP で、リトルエンディアンモードの場合は \fI4\fP
94+
2 進ダンプの場合は \fI1\fP です。
8495
ポストスクリプト形式やインクルード形式で出力するときは、このオプションは使わ
8596
れません。
8697
.TP
@@ -95,6 +106,11 @@ C インクルードファイル形式で出力します。入力ファイルの
95106
.RI < len >
96107
オクテットだけ出力する。
97108
.TP
109+
.I \-o offset
110+
表示されるファイル位置に
111+
.RI < offset >
112+
を加算する。
113+
.TP
98114
.IR \-p " | " \-ps " | " \-postscript " | " \-plain
99115
ポストスクリプト形式の 16 進ダンプを出力する。別名 プレーン 16 進ダンプ。
100116
.TP

runtime/doc/xxd.1

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,16 @@ Change the character encoding in the righthand column from ASCII to EBCDIC.
7676
This does not change the hexadecimal representation. The option is
7777
meaningless in combinations with \-r, \-p or \-i.
7878
.TP
79+
.IR \-e
80+
Switch to little-endian hexdump.
81+
This option treats byte groups as words in little-endian byte order.
82+
The default grouping of 4 bytes may be changed using
83+
.RI "" \-g .
84+
This option only applies to hexdump, leaving the ASCII (or EBCDIC)
85+
representation unchanged.
86+
The command line switches
87+
\-r, \-p, \-i do not work with this mode.
88+
.TP
7989
.IR "\-g bytes " | " \-groupsize bytes"
8090
separate the output of every
8191
.RI < bytes >
@@ -84,7 +94,7 @@ Specify
8494
.I \-g 0
8595
to suppress grouping.
8696
.RI < Bytes "> defaults to " 2
87-
in normal mode and \fI1\fP in bits mode.
97+
in normal mode, \fI4\fP in little-endian mode and \fI1\fP in bits mode.
8898
Grouping does not apply to postscript or include style.
8999
.TP
90100
.IR \-h " | " \-help
@@ -99,6 +109,11 @@ stop after writing
99109
.RI < len >
100110
octets.
101111
.TP
112+
.I \-o offset
113+
add
114+
.RI < offset >
115+
to the displayed file position.
116+
.TP
102117
.IR \-p " | " \-ps " | " \-postscript " | " \-plain
103118
output in postscript continuous hexdump style. Also known as plain hexdump
104119
style.

0 commit comments

Comments
 (0)