[Linux-disciples] Re: 'sed -r' and mwpurgecache (fwd)
Adam Rosi-Kessel
adam at rosi-kessel.org
Thu Oct 20 10:12:58 EDT 2005
Stephen R Laniel wrote:
> Any idea why the diff that this guy attached should fail to
> apply? It should apply to the script listed here:
> http://meta.wikimedia.org/wiki/MediaWiki_FAQ#How_do_I_purge_cached_pages.3F
>
> Shouldn't I just be able to apply the diffs via
>
> patch mwpurgecache.{sh,diff}
>
> ?
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.
-------------- 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/4d40c3f9/signature.pgp
More information about the Linux-disciples
mailing list