[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 01/01: grog: minor additions
From: |
Bernd Warken |
Subject: |
[groff] 01/01: grog: minor additions |
Date: |
Sun, 15 Jun 2014 12:22:52 +0000 |
bwarken pushed a commit to branch master
in repository groff.
commit d714a5f110146705300ee9d49340f9a7572e4667
Author: Bernd Warken <address@hidden>
Date: Sun Jun 15 14:22:36 2014 +0200
grog: minor additions
---
src/roff/grog/grog.man | 4 ++--
src/roff/grog/subs.pl | 8 +++++---
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/roff/grog/grog.man b/src/roff/grog/grog.man
index 234bbe2..16ec08d 100644
--- a/src/roff/grog/grog.man
+++ b/src/roff/grog/grog.man
@@ -10,7 +10,7 @@ grog.1 - man page for grog (section 1)
Source file position: <groff_source_top>/src/roff/grog/grog.man
Installed position: $prefix/share/man/man1/grog.1
-Last Update: 26 May 2014
+Last Update: 15 Jun 2014
..
.de co
Copyright (C) 1989\[en]2003, 2006, 2007, 2009\[en]2012, 2014
@@ -42,7 +42,7 @@ either
of the License, or (at your option) any later version.
.
.
-P
+.P
.I groff
is distributed in the hope that it will be useful, but
.IR "WITHOUT ANY WARRANTY" ;
diff --git a/src/roff/grog/subs.pl b/src/roff/grog/subs.pl
index 6c9c1dc..2f749d4 100644
--- a/src/roff/grog/subs.pl
+++ b/src/roff/grog/subs.pl
@@ -30,7 +30,7 @@
# <http://www.gnu.org/licenses/gpl-2.0.html>.
########################################################################
-# Last_Update = '14 Jun 2014';
+# Last_Update = '15 Jun 2014';
########################################################################
require v5.6;
@@ -39,6 +39,9 @@ use warnings;
use strict;
use File::Spec;
+# for running programs
+use IPC::System::Simple qw(capture capturex run runx system systemx);
+
$\ = "\n";
# my $Sp = "[\\s\\n]";
@@ -779,8 +782,7 @@ EOF
if ( $do_run ) {
print STDERR "@Command";
my $cmd = join ' ', @Command;
- print 'command will be: ' . $cmd;
- # system($cmd);
+ system($cmd);
} else {
print "@Command";
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 01/01: grog: minor additions,
Bernd Warken <=