groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 12/39: [gperl]: Report groff version information.


From: G. Branden Robinson
Subject: [groff] 12/39: [gperl]: Report groff version information.
Date: Sun, 9 Oct 2022 23:53:37 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit bb41f633c1fbe5a28af68a37cd36daf5add7f522
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Oct 9 01:47:22 2022 -0500

    [gperl]: Report groff version information.
    
    * contrib/gperl/gperl.pl: Include groff version information when
      reporting our own (as recommended by GNU coding standards).  Also drop
      gratuitous quotation of program's own name.
---
 contrib/gperl/ChangeLog | 6 ++++++
 contrib/gperl/gperl.pl  | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/contrib/gperl/ChangeLog b/contrib/gperl/ChangeLog
index a9aaf8a41..813c320e0 100644
--- a/contrib/gperl/ChangeLog
+++ b/contrib/gperl/ChangeLog
@@ -1,3 +1,9 @@
+2022-10-09  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * gperl.pl: Include groff version information when reporting our
+       own (as recommended by GNU coding standards).  Also drop
+       gratuitous quotation of program's own name.
+
 2022-05-03  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * gperl.am (gperl): Spell dependency on `$(SH_DEPS_SED_SCRIPT)`
diff --git a/contrib/gperl/gperl.pl b/contrib/gperl/gperl.pl
index 67b3ef484..2f9f7d1cd 100755
--- a/contrib/gperl/gperl.pl
+++ b/contrib/gperl/gperl.pl
@@ -96,7 +96,7 @@ foreach (@ARGV) {
       q(parts in 'roff' files.);
     exit;
   } elsif ( /^(-v|--v|--ve|--ver|--vers|--versi|--versio|--version)$/ ) {
-    print q('gperl' version ) . $version;
+    print "gperl (groff @VERSION@) version $version";
     exit;
   }
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]