Re: 問題ID:15140 patch -C

この質問の投稿一覧へ

なし Re: 問題ID:15140 patch -C

msg# 1.1
depth:
1
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2014-6-18 13:22 | 最終変更
arashi1977  長老 居住地: 広島  投稿数: 1715
手元の環境でも -C はダメみたいですね
$ patch -v
patch 2.6.1
Copyright (C) 1988 Larry Wall
Copyright (C) 2003, 2009 Free Software Foundation, Inc.

This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of this program
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

written by Larry Wall and Paul Eggert

$ patch -C
patch: invalid option -- 'C'
patch: Try `patch --help' for more information.

$ patch --help
Usage: patch [OPTION]... [ORIGFILE [PATCHFILE]]
(略)
Miscellaneous options:
(略)
  --dry-run  Do not actually change any files; just print what would happen.
現時点では --dry-run が正解みたいですね。
LPICの本試験でも --dry-run になってるのかな?

投稿ツリー

  >フォーラム検索へ


Copyright (c) 2020 Ping-t All rights reserved.