Date: Mon, 10 Feb 2003 14:45:12 +0200 From: Peter Pentchev <roam@ringlet.net> To: Doug Barton <DougB@FreeBSD.org> 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> In-Reply-To: <20030209224324.B866@12-234-22-23.pyvrag.nggov.pbz> References: <20030209224324.B866@12-234-22-23.pyvrag.nggov.pbz>
next in thread | previous in thread | raw e-mail | index | archive | help
--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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030210124512.GC381>