is there something totally screwed with "patch"?

Robert P. J. Day rpjday at mindspring.com
Sat Nov 15 19:52:12 UTC 2003


On Sat, 15 Nov 2003, Keith G. Robertson-Turner wrote:

> 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.

no, actually, it isn't, as i posted earlier -- there was a totally
unexpected side-effect related to using a badly-formed option, 
"-force", that didn't complain and printed confirmation messages,
but quietly didn't patch anything.  i'm sorely tempted to bugzilla
that one.

rday





More information about the fedora-list mailing list