From owner-freebsd-doc Mon Feb 10 4:46:52 2003 Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C86CF37B401 for ; Mon, 10 Feb 2003 04:46:50 -0800 (PST) Received: from straylight.ringlet.net (office.sbnd.net [217.75.140.130]) by mx1.FreeBSD.org (Postfix) with SMTP id E405443FAF for ; Mon, 10 Feb 2003 04:46:29 -0800 (PST) (envelope-from roam@ringlet.net) Received: (qmail 33990 invoked by uid 1000); 10 Feb 2003 12:45:12 -0000 Date: Mon, 10 Feb 2003 14:45:12 +0200 From: Peter Pentchev To: Doug Barton Cc: freebsd-doc@FreeBSD.org, gad@FreeBSD.org Subject: Re: need to not expand a cvs tag in a man page Message-ID: <20030210124512.GC381@straylight.oblivion.bg> Mail-Followup-To: Doug Barton , freebsd-doc@FreeBSD.org, gad@FreeBSD.org References: <20030209224324.B866@12-234-22-23.pyvrag.nggov.pbz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="69pVuxX8awAiJ7fD" Content-Disposition: inline In-Reply-To: <20030209224324.B866@12-234-22-23.pyvrag.nggov.pbz> User-Agent: Mutt/1.5.3i Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --69pVuxX8awAiJ7fD Content-Type: text/plain; charset=windows-1251 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 09, 2003 at 10:48:23PM -0800, Doug Barton wrote: > Folks, >=20 > I want to put the following literal string in my man page for mergemaster: >=20 > #DIFF_OPTIONS=3D'-I$FreeBSD:.*[$]' # Ignores CVS Id tags >=20 > Unfortunately, cvs is expanding that as a cvs id tag. I DO want to expand > the actual cvs id tag for this file, so I don't want to use the -ko > option. Any other ideas? In case it matters, the text in question is with > .Bd -literal. >=20 > Note, I don't think that enclosing the first $ in [] will work either, > since when I tried the above in my most recent commit, cvs ignored the > first [, and left the ] on at the end of the string. I think adding \& helps - at least it did for a test in my local CVS repo. #DIFF_OPTIONS=3D'-I$\&FreeBSD:.*[$]' # Ignores CVS Id tags G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 If wishes were fishes, the antecedent of this conditional would be true. --69pVuxX8awAiJ7fD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+R57Y7Ri2jRYZRVMRApcjAKCiums4xM++B1X/a7qEeer6HkEXRQCfQTfG qNquKrWZLb73cbpjsxZJxH8= =QlfH -----END PGP SIGNATURE----- --69pVuxX8awAiJ7fD-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message