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
[-- Attachment #1 --] On Sun, Feb 09, 2003 at 10:48:23PM -0800, Doug Barton wrote: > Folks, > > I want to put the following literal string in my man page for mergemaster: > > #DIFF_OPTIONS='-I$FreeBSD:.*[$]' # Ignores CVS Id tags > > 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. > > 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='-I$\&FreeBSD:.*[$]' # Ignores CVS Id tags G'luck, Peter -- 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. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+R57Y7Ri2jRYZRVMRApcjAKCiums4xM++B1X/a7qEeer6HkEXRQCfQTfG qNquKrWZLb73cbpjsxZJxH8= =QlfH -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030210124512.GC381>
