Included changes from Arizona
authorGary M. Levin <garrison@ucbvax.Berkeley.EDU>
Sat, 24 Sep 1983 06:39:47 +0000 (22:39 -0800)
committerGary M. Levin <garrison@ucbvax.Berkeley.EDU>
Sat, 24 Sep 1983 06:39:47 +0000 (22:39 -0800)
SCCS-vsn: contrib/bib/src/alpha.seek.c 2.2
SCCS-vsn: contrib/bib/src/bib.c 2.2
SCCS-vsn: contrib/bib/src/bibargs.c 2.2
SCCS-vsn: contrib/bib/src/invert.c 2.2
SCCS-vsn: contrib/bib/src/listrefs.c 2.2
SCCS-vsn: contrib/bib/src/locate.c 2.2
SCCS-vsn: contrib/bib/src/lookup.c 2.2
SCCS-vsn: contrib/bib/src/makekey.c 2.2
SCCS-vsn: contrib/bib/src/streams.c 2.2
SCCS-vsn: contrib/bib/src/bib.h 2.2
SCCS-vsn: contrib/bib/src/Makefile 2.4

usr/src/contrib/bib/src/Makefile
usr/src/contrib/bib/src/alpha.seek.c
usr/src/contrib/bib/src/bib.c
usr/src/contrib/bib/src/bib.h
usr/src/contrib/bib/src/bibargs.c
usr/src/contrib/bib/src/invert.c
usr/src/contrib/bib/src/listrefs.c
usr/src/contrib/bib/src/locate.c
usr/src/contrib/bib/src/lookup.c
usr/src/contrib/bib/src/makekey.c
usr/src/contrib/bib/src/streams.c

index 00ea863..8058883 100644 (file)
@@ -1,4 +1,4 @@
-#      @(#)Makefile    2.3     %G%
+#      @(#)Makefile    2.4     %G%
 #
 CC = cc
 .c.o:
 #
 CC = cc
 .c.o:
@@ -81,5 +81,19 @@ bibdoc:
 doc/INDEX:     doc/testrefs
        cd doc; invert -p INDEX testrefs
 
 doc/INDEX:     doc/testrefs
        cd doc; invert -p INDEX testrefs
 
+styleman:
+       sed -e 's/STYLE/stdn - standard numeric/' tstyles | bib -tstdn >show.stdn
+       sed -e 's/STYLE/stdsn - standard sorted numeric/' tstyles | bib -tstdsn >show.stdsn
+       sed -e 's/STYLE/stda - standard alphabetic/' tstyles | bib -tstda >show.stda
+       sed -e 's/STYLE/opena - open alphabetic/' tstyles | bib -topena >show.opena
+       sed -e 's/STYLE/openn - open numeric/' tstyles | bib -topenn >show.openn
+       sed -e 's/STYLE/astro - astrophysical journal style/' tstyles | bib -tastro >show.astro
+       sed -e 's/STYLE/hnf - Hanson Normal Form/' tstyles | bib -thnf >show.hnf
+       sed -e 's/STYLE/list - listrefs default/' tstyles | bib -tlist >show.list
+       sed -e 's/STYLE/spe - S P and E Journal style/' tstyles | bib -tspe2 >show.spe
+       sed -e 's/STYLE/supn - superscripted numeric style/' tstyles | bib -tsupn >show.supn
+       sed -e 's/STYLE/foot - footnoted citations/' tstyles | bib -tfoot >show.foot
+       vtroff -ms styletop show.*
+
 clean: 
        -rm -f *.o bib invert listrefs lookup tags
 clean: 
        -rm -f *.o bib invert listrefs lookup tags
index 5a08c45..e97e550 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)alpha.seek.c       2.1     %G%";
+static char sccsid[] = "@(#)alpha.seek.c       2.2     %G%";
 #endif not lint
 
 # include "stdio.h"
 #endif not lint
 
 # include "stdio.h"
index 7a4b8f3..573000a 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)bib.c      2.1     %G%";
+static char sccsid[] = "@(#)bib.c      2.2     %G%";
 #endif not lint
 
 /*
 #endif not lint
 
 /*
index 8c32a49..897445d 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- *     @(#)bib.h       2.1     %G%
+ *     @(#)bib.h       2.2     %G%
  */
 /*   various arguments for bib and listrefs processors */
 
  */
 /*   various arguments for bib and listrefs processors */
 
@@ -9,6 +9,7 @@
 # define false 0
 # define err  -1
 # define REFSIZE 1024                /* maximum size of reference string    */
 # define false 0
 # define err  -1
 # define REFSIZE 1024                /* maximum size of reference string    */
+# define MAXFIELD 512                /* maximum size of any field in referece*/
 
 /* reference citation marker genrated in pass 1 */
 
 
 /* reference citation marker genrated in pass 1 */
 
 /* size limits */
 
        /* maximum number of characters in common file */
 /* size limits */
 
        /* maximum number of characters in common file */
-# define MAXCOMM 300
+# define MAXCOMM 1000
 
 char *malloc();
 
 char *malloc();
+
+/* fix needed for systems where open [w]+ doesn't work */
+# ifdef READWRITE
+
+# define READ 1
+# define WRITE 0
+
+#endif
index c82d1e3..1ca84f3 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)bibargs.c  2.1     %G%";
+static char sccsid[] = "@(#)bibargs.c  2.2     %G%";
 #endif not lint
 
 /*
 #endif not lint
 
 /*
index c6d37a9..1d07cbd 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)invert.c   2.1     %G%";
+static char sccsid[] = "@(#)invert.c   2.2     %G%";
 #endif not lint
 
 /*  input:  records of lines, separated by blank lines
 #endif not lint
 
 /*  input:  records of lines, separated by blank lines
index ea58677..15fc139 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)listrefs.c 2.1     %G%";
+static char sccsid[] = "@(#)listrefs.c 2.2     %G%";
 #endif not lint
 
 /*
 #endif not lint
 
 /*
index f628c1f..5772cb2 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)locate.c   2.1     %G%";
+static char sccsid[] = "@(#)locate.c   2.2     %G%";
 #endif not lint
 
 # include   "stdio.h"
 #endif not lint
 
 # include   "stdio.h"
index 85e628f..f103c5d 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)lookup.c   2.1     %G%";
+static char sccsid[] = "@(#)lookup.c   2.2     %G%";
 #endif not lint
 
 # include "stdio.h"
 #endif not lint
 
 # include "stdio.h"
index ab8f23a..586f752 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)makekey.c  2.1     %G%";
+static char sccsid[] = "@(#)makekey.c  2.2     %G%";
 #endif not lint
 
 # include "stdio.h"
 #endif not lint
 
 # include "stdio.h"
index 58e9bbe..eba3395 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)streams.c  2.1     %G%";
+static char sccsid[] = "@(#)streams.c  2.2     %G%";
 #endif not lint
 
 # include "stdio.h"
 #endif not lint
 
 # include "stdio.h"