pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fred Wilson Horch <fhorch@ecoaccess.org>
To: Thomas Lockhart <lockhart@alumni.caltech.edu>
Cc: pgsql-docs@hub.org
Subject: Invoking patch
Date: Mon, 21 Jun 1999 10:42:58 -0400
Message-ID: <376E4F72.DD1F7417@ecoaccess.org> (raw)
References: <376D9E60.D169C92@ecoaccess.org>
	<376DA888.12C97930@alumni.caltech.edu>

> > *** doc/src/sgml/history.sgml Sun Jun 20 21:53:53 1999
> > --- doc/src/sgml/history.sgml.new Sun Jun 20 21:58:24 1999
> 
> How would you suggest I invoke the patch utility to get this to work?

This works for me:

1. save patch file to doc/src/sgml/history.sgml.patch
2. cd doc/src/sgml
3. patch < history.sgml.patch

On my system, this patches the history.sgml file.  What happens when you
try it?

I'm using

$ patch --version
patch 2.5
Copyright 1988 Larry Wall
Copyright 1997 Free Software Foundation, Inc.

This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of this program
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

written by Larry Wall with lots o' patches by Paul Eggert

$ uname -a
Linux devel.ecoaccess.org 2.0.36 #1 Thu Mar 4 15:18:55 EST 1999 i586
unknown

Let me know if you'd rather I save the original file to .orig rather
than create a .new file.  Either way works for me.

--Fred Horch

P.S.  Actually, now that I've got font-lock working with psgml mode, I
like keeping the .sgml extension on both files, so I call the new one
.new.sgml.  I can cp the orig file to .orig.sgml just as easily.

The one thing about renaming the original files to .orig is that I get
confused when doing cvs updates.  By keeping all of my changes in .new
files, it's clearer to me which of my changes made it into the official
Postgres repository.  But again, I'll do whatever makes it easier for
you.



view thread (2+ messages)  latest in thread

Message-ID: <376E4F72.DD1F7417@ecoaccess.org>
Permalink:  ../376E4F72.DD1F7417@ecoaccess.org/
Also on:    postgresql.org/message-id/376E4F72.DD1F7417@ecoaccess.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: fhorch@ecoaccess.org, lockhart@alumni.caltech.edu, pgsql-docs@hub.org
  Subject: Re: Invoking patch
  In-Reply-To: <376E4F72.DD1F7417@ecoaccess.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox