public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
To: law@cygnus.com
Cc: egcs@cygnus.com
Subject: Re: Inconsistance in snapshots repository
Date: Thu, 23 Apr 1998 13:31:00 -0000	[thread overview]
Message-ID: <Pine.GSO.3.96.980423203837.6934Q-100000@alcyone.dbai.tuwien.ac.at> (raw)
In-Reply-To: <23499.892619465@hurl.cygnus.com>

On Tue, 14 Apr 1998, Jeffrey A Law wrote:
>> On another related note: What happended to the idea of bumping the date
>> more regularily, e.g., daily?
> No time.  Like most things a contribution of code would greatly
> speed up the process.

I'm not sure whether the following is what you have asked for, but...
Here we go:

-------- cut here --------
#!/bin/sh

cvs update version.c 

CURR_DATE=`date +"%Y%m%d"`
OLD_VERSION=`cat version.c`

sed -e "s/\(.*egcs-[^ ]*\) [^ ]*/\1 ${CURR_DATE}/" >version.c <<HERE
$OLD_VERSION
HERE

cvs commit -m "Daily bump." version.c 
-------- cut here --------

Is that useable for you?


>> And on a final related note, I suggest to use 19980404 instead of 980404,
>> unless egcs won't be Y2000-compliant! <g>
> Probably a good idea [...]

Indeed I noticed that the latest snapshot now carries a 4-digit year, so
none can complain about my script introducing this... ;-)

Gerald
-- 
Gerald Pfeifer (Jerry)      Vienna University of Technology
pfeifer@dbai.tuwien.ac.at   http://www.dbai.tuwien.ac.at/~pfeifer/


  reply	other threads:[~1998-04-23 13:31 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-14  9:37 Gabriel Dos Reis
1998-04-14 13:21 ` Jeffrey A Law
1998-04-14 15:23 ` Gerald Pfeifer
1998-04-14 21:01   ` Alexandre Oliva
1998-04-15 15:09     ` Jeffrey A Law
1998-04-15 23:03       ` Raja R Harinath
1998-04-16 10:35         ` Jeffrey A Law
1998-04-16 23:59       ` Craig Burley
1998-04-16 23:59         ` Jeffrey A Law
1998-04-17 14:42           ` Joe Buck
1998-04-17 23:53             ` Jeffrey A Law
1998-04-16 23:59         ` Alexandre Oliva
1998-04-16 18:39           ` Craig Burley
1998-04-16 18:39             ` Jeffrey A Law
1998-04-14 23:16   ` Jeffrey A Law
1998-04-23 13:31     ` Gerald Pfeifer [this message]
1998-05-24  2:32       ` Jeffrey A Law

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.3.96.980423203837.6934Q-100000@alcyone.dbai.tuwien.ac.at \
    --to=pfeifer@dbai.tuwien.ac.at \
    --cc=egcs@cygnus.com \
    --cc=law@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).