On Mon, Nov 05, 2001 at 03:22:40PM -0600, Austad, Jay wrote:
> Ok, I have 2 files, something.c and something-modified.c
> 
> How do I create a patch so the changes in something-modified.c can be
> applied to something.c?

bash$ diff -U something.c something-modified.c > patch-something
bash$ patch -p0 patch-something

SEE ALSO: diff(1)

-- 
Chad Walstrom <chewie at wookimus.net>                 | a.k.a. ^chewie
http://www.wookimus.net/                            | s.k.a. gunnarr
Key fingerprint = B4AB D627 9CBD 687E 7A31  1950 0CC7 0B18 206C 5AFD

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20011105/e8f0fe41/attachment.pgp