Re: is there something totally screwed with "patch"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux