Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Feb 1999 19:41:41 -0500 (EST)
From:      Thomas David Rivers <rivers@dignus.com>
To:        freebsd-questions@FreeBSD.ORG, steve@emmert.com
Subject:   Re: Stupid diff/patch question
Message-ID:  <199902160041.TAA03586@lakes.dignus.com>
In-Reply-To: <Pine.BSF.4.05.9902151614170.291-100000@free.emmert.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> I am going to have to add a patch by hand to update some
>  hardware support on my laptop. I know what + and - mean
> but what does ! do? I checked the man pages but no answer
> there.

 It depends on how the diff was generated; but I believe the `!'
means that this line was changed.

 That is, `+' means add a line,
          `-' means delete a line, and
          `!' means something on the line changed.

Now, that something could be white space (if the appropriate options
weren't used when the diff was created) - so it may not be obvious
just what changed...  I usually just cut-and-paste such lines & remove
the leading `!'.


	- Dave Rivers -


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902160041.TAA03586>