public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* trying to create patches
@  Joseph C. Lininger
   ` Adam Myrow
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph C. Lininger @  UTC (permalink / raw)
  To: speakup

Hi all,
Seeing in how I write code and stuff I should probably know this, but I
don't. How do I use diff to create patches? The ones I have managed to
create don't install properly. Something about "can't find file to patch at
line <xxx>". I'm obviously overlooking something, but I can't tell what it
might be. Any idea?
--
Joseph C. Lininger
jbahm@pcdesk.net



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: trying to create patches
   trying to create patches Joseph C. Lininger
@  ` Adam Myrow
  0 siblings, 0 replies; 2+ messages in thread
From: Adam Myrow @  UTC (permalink / raw)
  To: speakup

Either use "diff -c file1 file2 > patchfile" or "diff -u file1 file2 >
patchfile."  The first form creates a context diff, and the second creates
something called a unified diff.  Either should work.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 trying to create patches Joseph C. Lininger
 ` Adam Myrow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).