summaryrefslogtreecommitdiff
path: root/src/devices/grolbp
diff options
context:
space:
mode:
authorwlemb <wlemb>2000-11-16 21:10:29 +0000
committerwlemb <wlemb>2000-11-16 21:10:29 +0000
commit65ece94caf644bcb3cf7d483002605c80ab64f63 (patch)
tree7273b29ff03bb37fd989a85415c2524378d4607c /src/devices/grolbp
parenta097d2a35efc38236f237aa20824479c59b7dc84 (diff)
downloadgroff-65ece94caf644bcb3cf7d483002605c80ab64f63.tar.gz
* src/devices/grodvi/dvi.cc (main),
src/devices/grohtml2/post-html.cc (main), src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc (main), src/preproc/eqn/main.cc (main), src/preproc/grn/main.cc (main), src/preproc/html2/pre-html.cc (main), src/preproc/pic/main.cc (main), src/preproc/refer/refer.cc (main), src/preproc/soelim/soelim.cc (main), src/preproc/tbl/main.cc (main), src/roff/groff/groff.cc (main), src/roff/troff/input.cc (main), src/utils/hpftodit/hpftodit.cc (main), src/utils/indxbib/indxbib.cc (main), src/utils/lkbib/lkbib.cc (main), src/utils/lookbib/lookbib.cc (main), src/utils/pfbtops/pfbtops.c (main), src/utils/tfmtodit/tfmtodit.cc (main): Use stdout for -v. * src/roff/groff/groff.cc (run_commands), src/roff/groff/pipeline.c (run_pipeline): New parameter `no_pipe' to make direct printing to stdout possible. * src/roff/groff/pipeline.h: Updated. * src/utils/afmtodit/afmtodit.pl: Add -v switch. * src/utils/afmtodit/Makefile.sub (afmtodit): Use @VERSION@. * src/utils/afmtodit/afmtodit.man: Updated. * src/utils/addftinfo/addftinfo.cc (main): Add -v switch. (version): New function. (usage): Updated. * src/utils/addftinfo/addftinfo.man: Updated. * src/devices/*/*, src/preproc/*/*, src/roff/*/*, src/utils/*/*: Fixing copyright dates. * src/preproc/eqn/neqn.sh: Adding GROFF_BIN_PATH to path instead of replacing it. * src/devices/grolbp/lbp.cc (main): Use Version_string instead of version_string. * src/roff/nroff/Makefile.sub (nroff): Fix use of @VERSION@.
Diffstat (limited to 'src/devices/grolbp')
-rw-r--r--src/devices/grolbp/lbp.cc9
-rw-r--r--src/devices/grolbp/lbp.h3
2 files changed, 5 insertions, 7 deletions
diff --git a/src/devices/grolbp/lbp.cc b/src/devices/grolbp/lbp.cc
index 23de5161..edd49fd2 100644
--- a/src/devices/grolbp/lbp.cc
+++ b/src/devices/grolbp/lbp.cc
@@ -1,5 +1,5 @@
// -*- C++ -*-
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 2000 Free Software Foundation, Inc.
Written by Francisco Andrés Verdú <pandres@dragonet.es> with many ideas
taken from the other groff drivers.
@@ -716,10 +716,9 @@ int main(int argc, char **argv)
case 'l' : orientation = 1;
break;
case 'v' : {
- extern const char *version_string;
- fprintf(stderr, "grolbp version %s\n",\
- version_string);
- fflush(stderr);
+ extern const char *Version_string;
+ printf("GNU grolbp (groff) version %s\n",\
+ Version_string);
exit(0);
break;
};
diff --git a/src/devices/grolbp/lbp.h b/src/devices/grolbp/lbp.h
index 04e6cecb..6a11b198 100644
--- a/src/devices/grolbp/lbp.h
+++ b/src/devices/grolbp/lbp.h
@@ -1,6 +1,5 @@
-
// -*- C -*-
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 2000 Free Software Foundation, Inc.
Written by Francisco Andrés Verdú <pandres@dragonet.es>
groff is free software; you can redistribute it and/or modify it under