2012-05-28 13:23:28 +00:00
|
|
|
$OpenBSD: patch-contrib_hdtbl_examples_common_roff,v 1.2 2012/05/28 13:23:28 schwarze Exp $
|
2011-12-04 15:41:26 +00:00
|
|
|
--- contrib/hdtbl/examples/common.roff.orig Fri Dec 31 08:33:09 2010
|
2012-05-28 13:23:28 +00:00
|
|
|
+++ contrib/hdtbl/examples/common.roff Sun May 27 12:41:37 2012
|
|
|
|
@@ -64,9 +64,8 @@ along with this program. If not, see <http://www.gnu.o
|
|
|
|
.\" ** standard form of the Unix date-command, **
|
2011-12-04 15:41:26 +00:00
|
|
|
.\" ** for example "Sun Dec 5 22:27:57 2004" **
|
|
|
|
.\" ******************************************************************
|
2012-05-28 13:23:28 +00:00
|
|
|
+.\" deactivated to avoid noise in the build logs
|
2011-12-04 15:41:26 +00:00
|
|
|
.de date
|
|
|
|
-. pso bash -c "echo -n .ds *date\ ;date"
|
2012-05-28 13:23:28 +00:00
|
|
|
-. tm \\*[*date] ***
|
2011-12-04 15:41:26 +00:00
|
|
|
..
|
|
|
|
.
|
2012-05-28 13:23:28 +00:00
|
|
|
.
|
|
|
|
@@ -79,16 +78,8 @@ along with this program. If not, see <http://www.gnu.o
|
|
|
|
.\" ** reg *time gets the difference of the **
|
|
|
|
.\" ** end- and start-time (seconds) **
|
|
|
|
.\" ******************************************************************
|
|
|
|
+.\" deactivated to avoid noise in the build logs
|
|
|
|
.de time
|
|
|
|
-. ds * \\$1\"
|
|
|
|
-. substring * 0 0
|
|
|
|
-. ie "\\*[*]"s" \
|
2011-12-04 15:41:26 +00:00
|
|
|
-. pso bash -c "echo -n .nr *time 0+;date +%s"
|
2012-05-28 13:23:28 +00:00
|
|
|
-. el \{\
|
2011-12-04 15:41:26 +00:00
|
|
|
-. pso bash -c "echo -n .nr *time -;date +%s"
|
2012-05-28 13:23:28 +00:00
|
|
|
-. nr *time 0-\\n[*time]
|
|
|
|
-. tm elapsed time: \\n[*time] seconds
|
|
|
|
-. \}
|
|
|
|
..
|
|
|
|
.
|
|
|
|
.
|