From owner-freebsd-doc Thu Feb 27 0:33:41 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 198D237B401; Thu, 27 Feb 2003 00:33:40 -0800 (PST) Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BF7443FBD; Thu, 27 Feb 2003 00:33:39 -0800 (PST) (envelope-from DougB@freebsd.org) Received: from master.gorean.org (12-234-22-23.client.attbi.com[12.234.22.23]) by rwcrmhc53.attbi.com (rwcrmhc53) with SMTP id <2003022708333905300g5uh3e>; Thu, 27 Feb 2003 08:33:39 +0000 Date: Thu, 27 Feb 2003 00:33:38 -0800 (PST) From: Doug Barton To: Peter Pentchev Cc: freebsd-doc@FreeBSD.org, gad@FreeBSD.org Subject: Re: need to not expand a cvs tag in a man page In-Reply-To: <20030210124512.GC381@straylight.oblivion.bg> Message-ID: <20030227003305.G6632@znfgre.tberna.bet> References: <20030209224324.B866@12-234-22-23.pyvrag.nggov.pbz> <20030210124512.GC381@straylight.oblivion.bg> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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