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

util/cli/ExtraVersion.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Finds the extra version number in file
Author:Marko K. Seppänen
Uploader:Marko K. Seppänen <marko seppanen gmail com>
Type:util/cli
Version:1.0 beta
Requires:AOS4
Architecture:ppc-amigaos >= 4.0.0
URL:http://www.m4rko.com/AMIGA
Date:2016-03-31
Download:http://aminet.net/util/cli/ExtraVersion.lha - View contents
Readme:http://aminet.net/util/cli/ExtraVersion.readme
Downloads:807

Extversion 1.0 BETA
===================

Name
----

EXTRAVERSION - Find the extra version string (non-Amiga version).


Format
------


EXTRAVERSION [<library|script|file>] [FULL|VSTRING|HELP]


Template
--------

NAME, FULL/S, HELP/S, VSTRING/S


Function
--------

EXTRAVERSION finds the extra version number of a library,	command,
script or simply any file where the extra version string has been has been
correctly set.


Commands
--------

EXTRAVERSION with no <library|script|file> argument prints the name and
extra version string.

FULL  - Outputs name, extraversion, date and the comment in the extra
version string (in the same line). 

VSTRING - Outputs the complete extra version string (including $EXTVER:).

VERSION - <Not yet implemented.>

To add an extra version string to your file, make sure that the file
contains a string of characters that represent the extra version string.

"\0$EXTVER: Program_Name ExtraVersionString (dd.mm.yyyy) Some comment.\0" 

ProgramName    	    - Name of your program
ExtraVersionString  - Any non-Amiga version string (tip: use _ for spaces)
dd	                - Day of month (1-31)
mm	                - Month of year (1-12)
yyyy	            - Year using four digits
comment	            - Optional comment, just for readability.


Changes
-------

Version 1.0b: 2016 Feb
 - Large part of the command (pretty much the whole command) rewritten from
scratch.
 - Test cases implemented (for internal debugging/testing).
 - More than 40 test files (for internal debugging/testing), testing both bad
   good extver tags.
 - Shold work on both textfiles and executables.
 - Compiled with the newly published SDK.

Version 0.4: Beta 1: 2014 May
 - Option HELP implemented.
 - Option FULL implemented.
 - Option VSTRING implemented.
 - Fixed bug, one (or some) extra trailing char got sometimes read into the
   Extversion cookie.
 - Fixed bug, failed to find properly set extra version string in scripts
    and other text files.
 - Many other fixes and improvements.

Version 0.3: Alpha 3: 2014 May
 - Updated the Extversion.doc.


Author(s)
---------
OpenAmiga.org / Marko K. Seppänen


Contents of util/cli/ExtraVersion.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                 4592   13840  33.2% -lh5- 1313 Feb 26 06:50 ExtraVersion/ExtraVersion
[unknown]                  918    2006  45.8% -lh5- 0adb Feb 26 06:50 ExtraVersion/ExtraVersion.doc
[unknown]                 1004    2146  46.8% -lh5- c830 Feb 26 06:50 ExtraVersion/ExtraVersion.readme
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         3 files    6514   17992  36.2%            Mar 31 22:09

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>