allow 4 letter callsigns, add git id sh/version
[spider.git] / cmd / show / version.pl
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..7107570d969c0e5108b57bb48508b89c81285351 100644 (file)
@@ -0,0 +1,15 @@
+#
+# show the version number of the software + copyright info
+#
+# Copyright (c) 1998 Dirk Koopman G1TLH
+#
+#
+#
+
+my @out;
+my ($year) = (gmtime($main::systime))[5];
+$year += 1900;
+push @out, "DX Spider Cluster version $main::version (build $main::subversion.$main::build git: $main::gitversion) on \u$^O";
+push @out, "Copyright (c) 1998-$year Dirk Koopman G1TLH";
+
+return (1, @out);