Using diff

Bill Campbell freebsd at celestial.com
Thu Nov 20 22:09:08 PST 2008


On Fri, Nov 21, 2008, Fbsd1 wrote:
> Trying to use diff program to create a patch.
> Output gos to console and does not create the patch file.
>
> If it do   diff original updated > patch.file
>
> The patch.file does not look like a normal patch file.
>
> What am I doing wrong here?

Try ``diff -u original updates > patch.file''.

Bill
-- 
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186

If you think health care is expensive now, wait until you see what it coses
when it's free -- P.J. O'Rourke


More information about the freebsd-questions mailing list