diff options
| author | Hiroyuki Hanai <hanai@FreeBSD.org> | 1998-02-27 01:27:49 +0000 |
|---|---|---|
| committer | Hiroyuki Hanai <hanai@FreeBSD.org> | 1998-02-27 01:27:49 +0000 |
| commit | 05b40ac89d10d8cd07891ae4f2bd2eac81d1cb44 (patch) | |
| tree | e1902836ff920eebf173aaab9c85e68bcee5f223 /ja/man/man1/patch.1 | |
| parent | dcccb67d7365170d0e8e7dba59f90d2504c2bf66 (diff) | |
Notes
Diffstat (limited to 'ja/man/man1/patch.1')
| -rw-r--r-- | ja/man/man1/patch.1 | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/ja/man/man1/patch.1 b/ja/man/man1/patch.1 index 2cce0586ce..c2f8875737 100644 --- a/ja/man/man1/patch.1 +++ b/ja/man/man1/patch.1 @@ -1,13 +1,11 @@ .\" -*- nroff -*- .rn '' }` .\" jpman %Id: patch.1,v 1.3 1997/09/10 04:34:14 yugawa Stab % -'\" %Header: /home/ncvs/src/gnu/usr.bin/patch/patch.1,v 1.5 1996/02/07 23:47:55 jdp Exp % +'\" %Header: /home/ncvs/src/gnu/usr.bin/patch/patch.1,v 1.5.2.3 1998/01/22 07:45:53 ache Exp % '\" '\" %Log: patch.1,v % -'\" Revision 1.5 1996/02/07 23:47:55 jdp -'\" Update the manual page to reflect the fact that an "Index" line -'\" now takes precedence over a context diff header for determining -'\" the name of the file to patch. +'\" Revision 1.5.2.1 1998/01/11 20:45:30 ache +'\" Back out rev1.5 change, Index: precedence restored to historycal behaviour '\" '\" Revision 1.4 1994/02/25 21:45:59 phk '\" added the -C/-check again. @@ -222,7 +220,7 @@ context diffには上のような行が含まれますが、 もしヘッダに \*(L"Index:\*(R" いう行があったら .I patch はここから得たファイル名を使うことを試みます。 -Index 行は、もしあれば、context diff ヘッダに優先して用いられます。 +context diff ヘッダは Index 行に優先して用いられます。 もしファイル名を見つけることができなかった場合、 パッチすべきファイル名を入力するよう求めます。 .PP @@ -334,6 +332,12 @@ hunk の適用位置を探す際に最大 number 行だけ無視します。 デフォルト値は 2 であり、 context の行数(通常は 3)より大きい値にはしません。 .TP 5 +.B "\-I, \-\-index-first" +.I patch +に、``Index:'' 行を context diff のヘッダより優先して扱わせます。 +.B PATCH_INDEX_FIRST +環境変数を設定すれば同じ効果が得られます。 +.TP 5 .B "\-l, \-\-ignore\-whitespace" パターンマッチの条件を緩くし、タブおよび空白に関する違いは無視します。 パターン中の連続する任意個の空白は、入力ファイル中の連続する任意個の |
