Date: Thu, 27 Feb 2003 00:33:38 -0800 (PST) From: Doug Barton <DougB@FreeBSD.org> To: Peter Pentchev <roam@ringlet.net> Cc: freebsd-doc@FreeBSD.org, gad@FreeBSD.org Subject: Re: need to not expand a cvs tag in a man page Message-ID: <20030227003305.G6632@znfgre.tberna.bet> In-Reply-To: <20030210124512.GC381@straylight.oblivion.bg> References: <20030209224324.B866@12-234-22-23.pyvrag.nggov.pbz> <20030210124512.GC381@straylight.oblivion.bg>
index | next in thread | previous in thread | raw e-mail
w00t! Thanks, that did the trick.
On Mon, 10 Feb 2003, Peter Pentchev wrote:
> 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
>
>
--
This .signature sanitized for your protection
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030227003305.G6632>
