summaryrefslogtreecommitdiff
path: root/contrib/hdtbl
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/hdtbl')
-rw-r--r--contrib/hdtbl/ChangeLog15
-rw-r--r--contrib/hdtbl/examples/color_nested_tables.roff21
-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
5 files changed, 13 insertions, 33 deletions
diff --git a/contrib/hdtbl/ChangeLog b/contrib/hdtbl/ChangeLog
index 5c46f8ee..e280f7f6 100644
--- a/contrib/hdtbl/ChangeLog
+++ b/contrib/hdtbl/ChangeLog
@@ -1,16 +1,3 @@
-2011-01-17 Werner LEMBERG <wl@gnu.org>
-
- * examples/color_nested_tables.roff: Fix output.
-
- Problem reported by Ulrich Spörlein <uqs@spoerlein.net>.
-
-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.
@@ -281,7 +268,7 @@
* Import of hdtbl 0.91 (with some further modifications). Still
many rough edges.
-Copyright 2006, 2008-2011
+Copyright 2006, 2008, 2009, 2010
Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
diff --git a/contrib/hdtbl/examples/color_nested_tables.roff b/contrib/hdtbl/examples/color_nested_tables.roff
index 6e6b70d8..e16d209a 100644
--- a/contrib/hdtbl/examples/color_nested_tables.roff
+++ b/contrib/hdtbl/examples/color_nested_tables.roff
@@ -5,7 +5,7 @@ color_nested_tables.roff
This file is part of groff, the GNU roff type-setting system.
-Copyright (C) 2005, 2006, 2009-2011 Free Software Foundation, Inc.
+Copyright (C) 2005, 2006, 2009, 2010 Free Software Foundation, Inc.
written by Joachim Walsdorff <Joachim.Walsdorff@urz.uni-heidelberg.de>.
groff is free software; you can redistribute it and/or modify it under
@@ -35,30 +35,23 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
.nr # 0 1
*****
.PN 39 .random# ".defcolor c\\n[#] rgb \\\\*[#random] " \
- ".TBL csp=0 cpd=0 border=1n bc=c\\n[#]" \
- ".if \\\\n+#=1 .CPTN val=b Nested Tables with Randomly Colored Border" \
- .TR .TD
+".TBL csp=0 cpd=0 border=1n bc=c\\n[#]" \
+".if \\\\n+#=1 .CPTN val=b Nested Tables with Randomly Colored Border" \
+.TR .TD
.PN 39 .ETB
.PN 15 Text after first table.
-.
.time
-.
-.bp
-.
.time start
-.
.PN 15 Text before second table.
*****
.nr # 0 1
.PN 39 .random# ".defcolor c\\n[#] rgb \\\\*[#random] " \
- ".TBL csp=0 cpd=1n border= bgc=c\\n[#]" \
- ".if \\\\n+#=1 .CPTN val=b Nested Tables with Randomly Colored Background" \
- .TR .TD
+".TBL csp=0 cpd=1n border= bgc=c\\n[#]" \
+".if \\\\n+#=1 .CPTN val=b Nested Tables with Randomly Colored Background" \
+.TR .TD
.PN 39 .ETB
.PN 25 Text after second table.
-.
.time
-.
.\" 466MHz Celeron CPU, 384MB RAM
.\" WindowsXP/cygwin groff18.1: 9/9s
.\" WindowsXP/cygwin groff19.2: 14/14s
diff --git a/contrib/hdtbl/examples/common.roff b/contrib/hdtbl/examples/common.roff
index 392e4a25..c4857d38 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 sh -c "echo -n .ds *date\ ;date"
+. pso bash -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 sh -c "echo -n .nr *time 0+;date +%s"
+. pso bash -c "echo -n .nr *time 0+;date +%s"
. el \{\
-. pso sh -c "echo -n .nr *time -;date +%s"
+. pso bash -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 c6625885..709ffb25 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 sh -c \
+. pso bash -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 639a8226..77b5ac37 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 sh -c \
+. pso bash -c \
"echo -n .ds *f\ ; \
ls \\*[fontpath]/dev\*[.T] \
| tr '[:cntrl:]' ' '"