is there something totally screwed with "patch"?

Keith G. Robertson-Turner redhat-forums at genesis-x.nildram.co.uk
Sat Nov 15 19:44:36 UTC 2003


Michael Schwendt wrote:


> No, because I can't reproduce it.
> 
>   $ echo "hello" > A
>   $ echo "Hello" > B
>   $ diff A B > diff
>   $ patch --input=diff
>   patching file A
>   $

Shouldn't that be:

$ patch A --input=diff #patches "A" with the "diff" between A and B

Note to Robert: It's quite easy, just think about it logically.

[H]omer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20031115/8c5a7ecc/attachment-0001.sig>


More information about the fedora-list mailing list