delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/14/16:50:24

X-Authentication-Warning: kendall.sfbr.org: jeffw set sender to jeffw AT darwin DOT sfbr DOT org using -f
Date: Thu, 14 Dec 2000 15:37:47 -0600
From: JT Williams <jeffw AT darwin DOT sfbr DOT org>
To: djgpp AT delorie DOT com
Message-ID: <20001214153747.E18414@kendall.sfbr.org>
Mail-Followup-To: djgpp AT delorie DOT com
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
Reply-To: djgpp AT delorie DOT com

I'm looking for a way to extract only the revision number `#.##' and
the date `yyyy/mm/dd' from an RCS $Id$ keyword, and use these to set
variables in a Texinfo document.

E.g., given an RCS $Id$ that expands to

	Revision #.##  yyyy/mm/dd hh:mm:ss  user

I would like to set Texinfo variables as follows

@set EDITION #.##
@set UPDATED yyyy/mm/dd

I do not see any string manipulation features in Texinfo;
perhaps this could be done with a Texinfo macro...?

TIA/jtw

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019