This is the mail archive of the
mailing list for the cygwin project.
Re: maintaining bash
On Sun, Apr 10, 2005 at 09:15:30PM -0400, Igor Pechtchanski wrote:
> On Sun, 10 Apr 2005, Yitzchak Scott-Thoennes wrote:
> > On Sun, Apr 10, 2005 at 08:43:50PM -0400, Igor Pechtchanski wrote:
> > > On Sun, 10 Apr 2005, Yitzchak Scott-Thoennes wrote:
> > >
> > > > On Sun, Apr 10, 2005 at 01:28:46PM -0400, Igor Pechtchanski wrote:
> > > > > You generate a patch (using "diff -puN" against the original sources),
> > > >
> > > > Funny, I used -p0rN4u for the fortune package, but I guess that's a
> > > > special case.
> > >
> > > I usually use -purN, actually, but I figured the recursive part was
> > > implied... What do -0 and -4 do, exactly?
Can't resist muttering something about forests and trees.
> > 0 gives 0 lines of context (default is 3), and 4 gives 4 lines of
> > context :)
> Interesting -- this wasn't in my diff manual (at least that particular
> option -- I did know about -U0 and -U4, of course). Also, what's the
> point in setting the context lines to 0 and then to 4?
info diff 'diff Options' says:
On older systems, `diff' supports an obsolete option `-LINES' that
has effect when combined with `-c' or `-p'. POSIX 1003.1-2001
(*note Standards conformance::) does not allow this; use `-C LINES'
But I suspect that should say -c or -u.