How to diff a man page?

Started by Greg Sabino Mullanealmost 25 years ago2 messagespatches
Jump to latest
#1Greg Sabino Mullane
greg@turnstep.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Greetings

I've just started to learn my way around the code, and have
created a patch for psql. I also made a small change to the
psql.1 man page. How do I diff this? The man file is in
src/doc/man.tar.gz - should I just diff against the "usual"
location of the file:
/usr/local/pgsql/man/man1/psql.1

or against somewhere in the source tree, such as:
src/doc/man/man1/psql.1

Or perhaps it does not matter too much?

Thanks,
Greg Sabino Mullane
greg@turnstep.com PGP Key: 0x14964AC8 200109262140

-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html

iQA/AwUBO7JnhLybkGcUlkrIEQLhfgCgnCuuz73KTm0yXR7B7Y9mCYKHiJsAoIvz
qy5HBhQHb9tX4qmUG2mXENZU
=SCNO
-----END PGP SIGNATURE-----

#2Bruce Momjian
bruce@momjian.us
In reply to: Greg Sabino Mullane (#1)
Re: How to diff a man page?

See src/sgml/ref for the SGML manual page source.

[ There is text before PGP section. ]

-- Start of PGP signed section.

Greetings

I've just started to learn my way around the code, and have
created a patch for psql. I also made a small change to the
psql.1 man page. How do I diff this? The man file is in
src/doc/man.tar.gz - should I just diff against the "usual"
location of the file:
/usr/local/pgsql/man/man1/psql.1

or against somewhere in the source tree, such as:
src/doc/man/man1/psql.1

Or perhaps it does not matter too much?

Thanks,
Greg Sabino Mullane
greg@turnstep.com PGP Key: 0x14964AC8 200109262140

-- End of PGP signed section.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026