Re: [SLUG] Interpret a "diff"

From: Bob Stia (rnr@sanctum.com)
Date: Thu Nov 15 2001 - 00:07:16 EST


On Wednesday 14 November 2001 06:22 pm, you wrote:
> On Wed, 14 Nov 2001, Bob Stia wrote:
> > Also tried the -u option but that seemed more confusing to me
> > because it had a lot of stuff printed that wasn't an actual diff.
> > This way though, seemed to denote the files by the "+" and "-"
> > signs. The lines were broken in the exact same way though, AND
> > there were no numbers at the end of the line. What do the numbers
> > mean??
>
> The -u option gives you a "unified context" diff which is often
> much better for reading diffs once you understand the syntax. By
> its very name it gives you not only the lines that have changed
> (the "-" denotes lines that have been removed from the first file
> and the "+" denotes lines that have been added in the second file),
> but it also gives you a bit of context surrounding the change so
> you can see more clearly where it exists in the files.
>.............snip..............

OK Paul,

I think I got it.

Now, theoretically, I could go back in and edit the file (in this case
by commenting out the second lines) and the file should work again.

Still wish I knew what those numbers at the end of the line meant
though.

Thanks again, Bob S.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:10:42 EDT