Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次の例を考えてみましょう。
$ls base.txt base-modified.txt $diff base.txt base-modified.txt > diff.txt $rm base-modified.txt $
base.txtとdiff.txtからbase-modified.txtが欲しい...誰かが方法を提案できますか?
パッチを使用できます。
cp base.txt base-modified.txt patch base-modified.txt diff.txt