[Linux-disciples] Re: 'sed -r' and mwpurgecache (fwd)
Adam Rosi-Kessel
adam at rosi-kessel.org
Thu Oct 20 10:18:23 EDT 2005
Stephen R Laniel wrote:
> On Thu, Oct 20, 2005 at 10:12:58AM -0400, Adam Rosi-Kessel wrote:
>> Without trying it, I've never used patch that way. You almost always see it as:
>>
>> cat mwpurgecache.diff | patch
>>
>> or
>>
>> cat mwpurgecache.diff | patch -p1
>> if there are leading paths in the patch file (not in your case) that need to
>> be removed.
> Both failed:
Well, if all else fails, just see whether the diff actually applies. Go to
the line numbers specified in the diff and see if the expected "source text"
is really there. It may be that your original file is not the exact version
the patch is expected to apply to.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20051020/1ff8df25/signature.pgp
More information about the Linux-disciples
mailing list