OS4 DepotLogo by Nickman 
(anonymous IP: 3.128.79.88,2193) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (596)
   o Document (22)
   o Driver (97)
   o Emulation (147)
   o Game (1004)
   o Graphics (497)
   o Library (115)
   o Network (232)
   o Office (66)
   o Utility (923)
   o Video (69)

Total files: 4365

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 Readme for:  Utility » Shell » getversion.lha

GetVersion

Description: Shell/CLI cmd to show version string
Download: getversion.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 30kb
Version: 1.1
Date: 03 Dec 2017
Author: Javier de las Rivas
Submitter: Javier de las Rivas
Email: jabierdlr/gmail com
Requirements: AmigaOS4.1FE
Category: utility/shell
Replaces: utility/shell/getversion.lha
License: Freeware
Distribute: yes
Min OS Version: 4.1
FileID: 10404
 
Comments: 4
Snapshots: 0
Videos: 0
Downloads: 99  (Current version)
175  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
Yet another version commandline tool.


Shell/CLI arguments:
FILE/A,[N=NAME/S,V=VER=VERSION/S,D=DATE/S],RES=RESIDENT/S,EXTVER/S,NC=NOCOMMENT

 FILE/A         : filename to get version (mandatory)
 N=NAME/S       : prints name of version string
 V=VER=VERSION/S: prints version.revision of version string
 D=DATE/S       : prints date of version string
 RES=RESIDENT/S : try to find resident version of FILE
 EXTVER/S       : try to find $EXTVER: version string
 NC=NOCOMMENT/S : don't print comment string (if available)
NOTE1: without any switch it prints full version string.
NOTE2: using 'N D' combination not supported.
NOTE3: I added a couple of workarounds for some programs/libs/... that
have incorrect '$VER: name ver.rev (date) [misc]' string. In case you
find a faulty one contact me so I can try to workaround (if it's worth).



Examples:
#GetVersion libs:asl.library 
asl.library 53.49 (17.9.2013)
#GetVersion libs:asl.library NAME VER
asl.library 53.49
#GetVersion exec.library RES
exec 53.89 (28.11.2016)
#GetVersion ExtraVersion EXTVER
ExtraVersion 1.0b (26.02.2016)
This release is a beta version.



INSTALLATION:
-Just copy 'GetVersion' where you want on your hard disk.



Compiling sources:
Latest SDK & "execute GetVersion.c"



Thanks to (in no special order):
mritter and everyone at os4coding!



HISTORY:
V1.0 (2017-09-01) Javier de las Rivas
 - First released version.
V1.1 (2017-12-03) Javier de las Rivas
 - Reworked resident version search (RES=RESIDENT switch).
 - Adding "brute force" $EXTVER version search.
 - Added mode "GetVersion <file> V D", prints VERSION and DATE.
 - Added no comment switch (NC=NOCOMMENT).





Copyright © 2004-2024 by Björn Hagström All Rights Reserved