AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/misc/SetRev.lha

Mirror:Random
Showing: i386-aros icongeneric icon
No screenshot available
Short:BumpRev-like utility
Author: jochen.wiedmann at zdv.uni-tuebingen.de
Uploader:jochen wiedmann zdv uni-tuebingen de
Type:dev/misc
Architecture:m68k-amigaos
Date:1995-03-21
Download:dev/misc/SetRev.lha - View contents
Readme:dev/misc/SetRev.readme
Downloads:705

This is a small little hack very similar to Commodore's BumpRev
or Dice's UpRev. The difference is that SetRev does not need a
special _rev.h file, instead it may scan a given source file
for the current version and revision and modify it. In short:
BumpRev for those who don't like too much different files.



Usage: SetRev PROJECT/A,VERSION/N,FILE/K

The given FILE (default: PROJECT_rev.h) will be searched for
version and revision definitions and bumped to the next
revision number.

Example: SetRev SetRev FILE SetRev.c

will scan the file SetRev.c for the following definitions and
bumpt the current revision number:
    #define VERSION	   1
    #define REVISION	   1
    #define DATE    "30.10.94"
    #define VERS    "SetRev 1.1"
    #define VSTRING "SetRev 1.1 (30.10.94)"
    #define VERSTAG "\0$VER: SetRev 1.1 (30.10.94)"


Contents of dev/misc/SetRev.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 9234   15664  59.0% -lh5- 7f12 Mar 17  1995 SetRev
[generic]                 2408    8395  28.7% -lh5- a7a4 Mar 17  1995 SetRev.c
[generic]                  495     972  50.9% -lh5- be87 Mar 17  1995 SetRev.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         3 files   12137   25031  48.5%            Mar 21  1995
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>