OS4 DepotLogo by Alkaron 
(anonymous IP: 54.145.51.250,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 
 Categories

   o Audio (328)
   o Datatype (47)
   o Demo (180)
   o Development (529)
   o Document (21)
   o Driver (87)
   o Emulation (141)
   o Game (852)
   o Graphics (457)
   o Library (88)
   o Network (200)
   o Office (56)
   o Utility (804)
   o Video (60)

Total files: 3850

Full index file. Download
Recent index file. Download




 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


 Readme for:  Utility » Shell » extraversion.lha

ExtraVersion

Description: Finds the extra version number (non-Amiga version)
Download: extraversion.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 8kb
Version: 1.1.0b
Date: 09 Dec 17
Author: Marko Seppänen / OpenAmiga.org
Submitter: Marko Seppänen
Homepage: http://www.m4rko.com/amiga
Requirements: AOS4
Category: utility/shell
Replaces: utility/shell/extraversion.lha
License: Other
Distribute: yes
Min OS Version: 4.1
FileID: 10412
 
Comments: 5
Snapshots: 0
Downloads:  (Current version)

[Show comments] [Show snapshots] [Show content] [Show crashlogs] 
ExtraVersion 1.1.0b
===================

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

FORMAT
    EXTRAVERSION [<library|script|file>] [FULL|VSTRING|VER=VERSTAG|HELP]

TEMPLATE
    NAME, FULL/S, HELP/S, VSTRING/S, VER=VERSTAG/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:
    or $VER:).

    VER=VERSTAG - Finds the $VER: tag instead of $EXTVER:.

    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.1.0b: 2017 Dec
 - New switch/option VER and VERSTAG added, finds the $VER: cookie instead.
 - Fixed bug in returned ver/extver tag, one trailing whitespace where added
   when no comment.
 - Corrected the typo in various places to correct "ExtraVersion", thanks TSK.

Version 1.0.1b: 2017 Dec
 - Fixed a bug where no EXTVER tag could be found if the file ended right after
   the tag and was without a commment.
 - Fixed a bug where EXTVER failed to read a non-standard version number
   0.3-Alpha_3 and the like.

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
   ExtraVersion 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 ExtraVersion.doc.


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

Copyright (c) 2004-2017 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment