[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Does diff generate diff or patch files?
From: |
Bob Rossi |
Subject: |
Re: Does diff generate diff or patch files? |
Date: |
Fri, 10 Feb 2006 20:39:55 -0500 |
User-agent: |
Mutt/1.5.9i |
On Fri, Feb 10, 2006 at 03:22:39PM -0800, Paul Eggert wrote:
> Bob Rossi <address@hidden> writes:
>
> > I would really like to know if diff generates .diff or .patch files?
> >
> > Is `diff f.1 f.2 > f.diff' more appropriate than `diff f.1 f.2 > f.patch'?
>
> Both uses are common. I suspect the former is slightly more common.
I suppose a better way of asking the same question is, does the diff
program output `diff' files or `patch' files. If you use diff -u, or
diff -c, are you getting a different format of a `diff' or `patch' file?
This question carries no real importance besides the fact that I would
like to use the proper terminology.
Thanks,
Bob Rossi