summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwl <wl>2011-01-17 16:22:51 +0000
committerwl <wl>2011-01-17 16:22:51 +0000
commit5f1b3845699117e2d9d1b64bc21a55a60128b325 (patch)
tree9a4ebcd0d8a02e0702e0483f62ee001eccb048c7
parent0a8a609f212bee2b5286c9b187412cff5d9cfb0a (diff)
downloadgroff-5f1b3845699117e2d9d1b64bc21a55a60128b325.tar.gz
Don't make examples depend on bash.
* examples/common.roff, examples/fonts_n.in, examples/fonts_x.in: s/bash/sh/.
-rw-r--r--contrib/hdtbl/ChangeLog9
-rw-r--r--contrib/hdtbl/examples/common.roff6
-rw-r--r--contrib/hdtbl/examples/fonts_n.in2
-rw-r--r--contrib/hdtbl/examples/fonts_x.in2
4 files changed, 13 insertions, 6 deletions
diff --git a/contrib/hdtbl/ChangeLog b/contrib/hdtbl/ChangeLog
index e280f7f6..453ef71b 100644
--- a/contrib/hdtbl/ChangeLog
+++ b/contrib/hdtbl/ChangeLog
@@ -1,3 +1,10 @@
+2011-01-17 Ulrich Spörlein <uqs@spoerlein.net>
+
+ Don't make examples depend on bash.
+
+ * examples/common.roff, examples/fonts_n.in, examples/fonts_x.in:
+ s/bash/sh/.
+
2010-02-09 Werner LEMBEARG <wl@gnu.org>
Make example compilation work again if srcdir != builddir.
@@ -268,7 +275,7 @@
* Import of hdtbl 0.91 (with some further modifications). Still
many rough edges.
-Copyright 2006, 2008, 2009, 2010
+Copyright 2006, 2008-2011
Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
diff --git a/contrib/hdtbl/examples/common.roff b/contrib/hdtbl/examples/common.roff
index c4857d38..392e4a25 100644
--- a/contrib/hdtbl/examples/common.roff
+++ b/contrib/hdtbl/examples/common.roff
@@ -65,7 +65,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
.\" ** for example "Sun Dec 5 22:27:57 2004" **
.\" ******************************************************************
.de date
-. pso bash -c "echo -n .ds *date\ ;date"
+. pso sh -c "echo -n .ds *date\ ;date"
. tm \\*[*date] ***
..
.
@@ -83,9 +83,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
. ds * \\$1\"
. substring * 0 0
. ie "\\*[*]"s" \
-. pso bash -c "echo -n .nr *time 0+;date +%s"
+. pso sh -c "echo -n .nr *time 0+;date +%s"
. el \{\
-. pso bash -c "echo -n .nr *time -;date +%s"
+. pso sh -c "echo -n .nr *time -;date +%s"
. nr *time 0-\\n[*time]
. tm elapsed time: \\n[*time] seconds
. \}
diff --git a/contrib/hdtbl/examples/fonts_n.in b/contrib/hdtbl/examples/fonts_n.in
index 709ffb25..c6625885 100644
--- a/contrib/hdtbl/examples/fonts_n.in
+++ b/contrib/hdtbl/examples/fonts_n.in
@@ -50,7 +50,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
. el \
. ds *args \\n[.fn]
.
-. pso bash -c \
+. pso sh -c \
"echo -n .ds *f\ ; \
ls \\*[fontpath]/dev\*[.T] \
| tr '[:cntrl:]' ' '"
diff --git a/contrib/hdtbl/examples/fonts_x.in b/contrib/hdtbl/examples/fonts_x.in
index 77b5ac37..639a8226 100644
--- a/contrib/hdtbl/examples/fonts_x.in
+++ b/contrib/hdtbl/examples/fonts_x.in
@@ -50,7 +50,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
. el \
. ds *args \\n[.fn]
.
-. pso bash -c \
+. pso sh -c \
"echo -n .ds *f\ ; \
ls \\*[fontpath]/dev\*[.T] \
| tr '[:cntrl:]' ' '"