#! /bin/sh
# This is a shell archive, meaning:
# 1. Remove everything above the #! /bin/sh line.
# 2. Save the resulting text in a file.
# 3. Execute the file with /bin/sh (not csh) to create:
#	README
#	COPYING
#	Makefile
#	anchor.sed
#	charfont.sed
#	contents.sed
#	paragraph.sed
#	section1.sed
#	section2.sed
#	section3.sed
#	section4.sed
#	section5.sed
#	section6.sed
#	textbody.sed
#	contents.sh
#	textbody.sh
#	backslash.ref
#	dollar.ref
#	dotline.ref
#	protoindex.html
# This archive created: Mon Jun 15 10:51:26 1998
export PATH; PATH=/bin:/usr/bin:$PATH
if test -f 'README'
then
	echo shar: "will not over-write existing file 'README'"
else
cat << \SHAR_EOF > 'README'
Copyright 06/15/98 Sun Microsystems, Inc., All Rights Reserved.
@(#)README 1.2 on 98/06/15 10:37:44
Author: Lawrence Crowl

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
See the file COPYING.

Commands:

   cd to this directory

   make SRC=source_dir TGT=target_dir TMP=temp_file_dir verify

      The files backslash.dif and dotline.dif should be empty.  If they
      are not, something is wrong with the conversion scripts, the
      troff source, or the reference (.ref) files.

   make SRC=source_dir TGT=target_dir TMP=temp_file_dir html

      No verification is done, but the HTML files are updated.

   The default target is verify.

Directories:

   SRC defaults to ../c++roff
   TGT defaults to ../c++html
   TMP defaults to ../c++temp

Files:

   README -- this file
   COPYING -- the GNU General Public License

   Makefile -- rules for converting troff files to html files

   protoindex.html -- the top-level table of contents, copied to index.html
   $(TGT)/contents.html -- the detailed table of contents

   contents.sh -- conversion script for contents
   textbody.sh -- conversion script for main text body

   anchor.sed -- convert headers to crossreference sed script (below)
   charfont.sed -- convert character escapes and fonts
   contents.sed -- format for the detailed table of contents
   paragraph.sed -- number (numbered) paragraphs
   section[1-6].sed -- number sections
   textbody.sed -- convert the nroff tags (lines beginning with dot)

   dotline.ref -- lines starting with dot expected in the html files
   $(TMP)/dotline.fnd -- lines starting with dot found in the html files
   $(TMP)/dotline.dif -- difference in lines starting with dot

   backslash.ref -- backshash characters expected in the html files
   $(TMP)/backslash.fnd -- backshash characters found in the html files
   $(TMP)/backslash.dif -- difference in backshash characters

   dollar.ref -- dollar characters expected in the html files
   $(TMP)/dollar.fnd -- dollar characters found in the html files
   $(TMP)/dollar.dif -- difference in dollar characters

   $(SRC)/* -- troff sources
   $(TGT)/*.html -- derived html files

   $(TMP)/*.cnts -- the contents for a single chapter
   $(TMP)/*.newh -- the newest headings for a chapter
   $(TMP)/*.oldh -- the oldest _identical_ headings for a chapter
   $(TMP)/*.xref -- crossreference conversion scripts, per chapter
   $(TMP)/*.xref.a[ab] -- split crossreference conversion scripts

Development:

   If you do find bugs when applying these scripts to the C++
   standard's troff sources, please send me context diffs ("diff -c")
   for your fixes.  Likewise, if you make formatting improvements,
   please send me the diffs.  My email address is
   Lawrence.Crowl@Eng.Sun.Com.

   If you are modifying these scripts for use with other documents,
   you are on your own.  I cannot support you.
SHAR_EOF
fi
if test -f 'COPYING'
then
	echo shar: "will not over-write existing file 'COPYING'"
else
cat << \SHAR_EOF > 'COPYING'
		    GNU GENERAL PUBLIC LICENSE
		       Version 2, June 1991

 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
                          675 Mass Ave, Cambridge, MA 02139, USA
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.

			    Preamble

  The licenses for most software are designed to take away your
freedom to share and change it.  By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users.  This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it.  (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.)  You can apply it to
your programs, too.

  When we speak of free software, we are referring to freedom, not
price.  Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.

  To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.

  For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have.  You must make sure that they, too, receive or can get the
source code.  And you must show them these terms so they know their
rights.

  We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.

  Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software.  If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.

  Finally, any free program is threatened constantly by software
patents.  We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary.  To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.

  The precise terms and conditions for copying, distribution and
modification follow.

		    GNU GENERAL PUBLIC LICENSE
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License.  The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language.  (Hereinafter, translation is included without limitation in
the term "modification".)  Each licensee is addressed as "you".

Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope.  The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.

  1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.

You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.

  2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:

    a) You must cause the modified files to carry prominent notices
    stating that you changed the files and the date of any change.

    b) You must cause any work that you distribute or publish, that in
    whole or in part contains or is derived from the Program or any
    part thereof, to be licensed as a whole at no charge to all third
    parties under the terms of this License.

    c) If the modified program normally reads commands interactively
    when run, you must cause it, when started running for such
    interactive use in the most ordinary way, to print or display an
    announcement including an appropriate copyright notice and a
    notice that there is no warranty (or else, saying that you provide
    a warranty) and that users may redistribute the program under
    these conditions, and telling the user how to view a copy of this
    License.  (Exception: if the Program itself is interactive but
    does not normally print such an announcement, your work based on
    the Program is not required to print an announcement.)

These requirements apply to the modified work as a whole.  If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works.  But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.

Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.

In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.

  3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:

    a) Accompany it with the complete corresponding machine-readable
    source code, which must be distributed under the terms of Sections
    1 and 2 above on a medium customarily used for software interchange; or,

    b) Accompany it with a written offer, valid for at least three
    years, to give any third party, for a charge no more than your
    cost of physically performing source distribution, a complete
    machine-readable copy of the corresponding source code, to be
    distributed under the terms of Sections 1 and 2 above on a medium
    customarily used for software interchange; or,

    c) Accompany it with the information you received as to the offer
    to distribute corresponding source code.  (This alternative is
    allowed only for noncommercial distribution and only if you
    received the program in object code or executable form with such
    an offer, in accord with Subsection b above.)

The source code for a work means the preferred form of the work for
making modifications to it.  For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable.  However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.

If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.

  4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License.  Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.

  5. You are not required to accept this License, since you have not
signed it.  However, nothing else grants you permission to modify or
distribute the Program or its derivative works.  These actions are
prohibited by law if you do not accept this License.  Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.

  6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions.  You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.

  7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License.  If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all.  For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.

If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.

It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices.  Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.

This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.

  8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded.  In such case, this License incorporates
the limitation as if written in the body of this License.

  9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time.  Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.

Each version is given a distinguishing version number.  If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation.  If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.

  10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission.  For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this.  Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.

			    NO WARRANTY

  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.

  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.

		     END OF TERMS AND CONDITIONS

	Appendix: How to Apply These Terms to Your New Programs

  If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.

  To do so, attach the following notices to the program.  It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>
    Copyright (C) 19yy  <name of author>

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

Also add information on how to contact you by electronic and paper mail.

If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:

    Gnomovision version 69, Copyright (C) 19yy name of author
    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
    This is free software, and you are welcome to redistribute it
    under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License.  Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.

You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary.  Here is a sample; alter the names:

  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
  `Gnomovision' (which makes passes at compilers) written by James Hacker.

  <signature of Ty Coon>, 1 April 1989
  Ty Coon, President of Vice

This General Public License does not permit incorporating your program into
proprietary programs.  If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library.  If this is what you want to do, use the GNU Library General
Public License instead of this License.
SHAR_EOF
fi
if test -f 'Makefile'
then
	echo shar: "will not over-write existing file 'Makefile'"
else
cat << \SHAR_EOF > 'Makefile'
# Copyright %G% Sun Microsystems, Inc., All Rights Reserved.
# %Z%%M% %I% on %E% %U%
# Author: Lawrence Crowl
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# See the file COPYING.

# Note that this is a two-level make process.
# The outer make insures that the headings have been updated,
# changing $(TMP)/*.oldh _if_and_only_if_
# the contents of $(TMP)/*.newh have changed.
# The inner make does the remainder of the work.

# VARIABLES

# The source and target directories:

SRC = ../c++roff
TGT = ../c++html
TMP = ../c++temp

# The source text files:

ROFFTEXT = $(SRC)/intro $(SRC)/lex $(SRC)/basic $(SRC)/conv $(SRC)/expr\
	$(SRC)/stmt $(SRC)/dcl $(SRC)/decl $(SRC)/class $(SRC)/derived\
	$(SRC)/access $(SRC)/special $(SRC)/over\
	$(SRC)/template $(SRC)/except $(SRC)/cpp\
	$(SRC)/lib-intro $(SRC)/lib-support $(SRC)/lib-diagnostics\
	$(SRC)/lib-utilities $(SRC)/lib-strings $(SRC)/lib-locales\
	$(SRC)/lib-containers $(SRC)/lib-iterators $(SRC)/lib-algorithms\
	$(SRC)/lib-numerics $(SRC)/lib-iostreams\
	$(SRC)/gram $(SRC)/limits $(SRC)/diff $(SRC)/future $(SRC)/extendid

# The target text files:

HTMLTEXT = $(TGT)/intro.html $(TGT)/lex.html $(TGT)/basic.html\
	$(TGT)/conv.html $(TGT)/expr.html $(TGT)/stmt.html $(TGT)/dcl.html\
	$(TGT)/decl.html $(TGT)/class.html $(TGT)/derived.html\
	$(TGT)/access.html $(TGT)/special.html $(TGT)/over.html\
	$(TGT)/template.html $(TGT)/except.html $(TGT)/cpp.html\
        $(TGT)/lib-intro.html $(TGT)/lib-support.html\
	$(TGT)/lib-diagnostics.html $(TGT)/lib-utilities.html\
	$(TGT)/lib-strings.html $(TGT)/lib-locales.html\
	$(TGT)/lib-containers.html $(TGT)/lib-iterators.html\
	$(TGT)/lib-algorithms.html $(TGT)/lib-numerics.html\
	$(TGT)/lib-iostreams.html\
	$(TGT)/gram.html $(TGT)/limits.html $(TGT)/diff.html\
	$(TGT)/future.html $(TGT)/extendid.html

# The intermediate text files:

NEWHEADS = $(TMP)/intro.newh $(TMP)/lex.newh $(TMP)/basic.newh\
	$(TMP)/conv.newh $(TMP)/expr.newh $(TMP)/stmt.newh $(TMP)/dcl.newh\
	$(TMP)/decl.newh $(TMP)/class.newh $(TMP)/derived.newh\
	$(TMP)/access.newh $(TMP)/special.newh $(TMP)/over.newh\
	$(TMP)/template.newh $(TMP)/except.newh $(TMP)/cpp.newh\
        $(TMP)/lib-intro.newh $(TMP)/lib-support.newh\
	$(TMP)/lib-diagnostics.newh $(TMP)/lib-utilities.newh\
	$(TMP)/lib-strings.newh $(TMP)/lib-locales.newh\
	$(TMP)/lib-containers.newh $(TMP)/lib-iterators.newh\
	$(TMP)/lib-algorithms.newh $(TMP)/lib-numerics.newh\
	$(TMP)/lib-iostreams.newh $(TMP)/gram.newh $(TMP)/limits.newh\
	$(TMP)/diff.newh $(TMP)/future.newh $(TMP)/extendid.newh

OLDHEADS = $(TMP)/intro.oldh $(TMP)/lex.oldh $(TMP)/basic.oldh\
	$(TMP)/conv.oldh $(TMP)/expr.oldh $(TMP)/stmt.oldh $(TMP)/dcl.oldh\
	$(TMP)/decl.oldh $(TMP)/class.oldh $(TMP)/derived.oldh\
	$(TMP)/access.oldh $(TMP)/special.oldh $(TMP)/over.oldh\
	$(TMP)/template.oldh $(TMP)/except.oldh $(TMP)/cpp.oldh\
        $(TMP)/lib-intro.oldh $(TMP)/lib-support.oldh\
	$(TMP)/lib-diagnostics.oldh $(TMP)/lib-utilities.oldh\
	$(TMP)/lib-strings.oldh $(TMP)/lib-locales.oldh\
	$(TMP)/lib-containers.oldh $(TMP)/lib-iterators.oldh\
	$(TMP)/lib-algorithms.oldh $(TMP)/lib-numerics.oldh\
	$(TMP)/lib-iostreams.oldh $(TMP)/gram.oldh $(TMP)/limits.oldh\
	$(TMP)/diff.oldh $(TMP)/future.oldh $(TMP)/extendid.oldh

CONTENTS = $(TMP)/intro.cnts $(TMP)/lex.cnts $(TMP)/basic.cnts\
	$(TMP)/conv.cnts $(TMP)/expr.cnts $(TMP)/stmt.cnts $(TMP)/dcl.cnts\
	$(TMP)/decl.cnts $(TMP)/class.cnts $(TMP)/derived.cnts\
	$(TMP)/access.cnts $(TMP)/special.cnts $(TMP)/over.cnts\
	$(TMP)/template.cnts $(TMP)/except.cnts $(TMP)/cpp.cnts\
        $(TMP)/lib-intro.cnts $(TMP)/lib-support.cnts\
	$(TMP)/lib-diagnostics.cnts $(TMP)/lib-utilities.cnts\
	$(TMP)/lib-strings.cnts $(TMP)/lib-locales.cnts\
	$(TMP)/lib-containers.cnts $(TMP)/lib-iterators.cnts\
	$(TMP)/lib-algorithms.cnts $(TMP)/lib-numerics.cnts\
	$(TMP)/lib-iostreams.cnts $(TMP)/gram.cnts $(TMP)/limits.cnts\
	$(TMP)/diff.cnts $(TMP)/future.cnts $(TMP)/extendid.cnts

# The intermediate scripts:

CROSSREF = $(TMP)/intro.xref $(TMP)/lex.xref $(TMP)/basic.xref\
	$(TMP)/conv.xref $(TMP)/expr.xref $(TMP)/stmt.xref $(TMP)/dcl.xref\
	$(TMP)/decl.xref $(TMP)/class.xref $(TMP)/derived.xref\
	$(TMP)/access.xref $(TMP)/special.xref $(TMP)/over.xref\
	$(TMP)/template.xref $(TMP)/except.xref $(TMP)/cpp.xref\
        $(TMP)/lib-intro.xref $(TMP)/lib-support.xref\
	$(TMP)/lib-diagnostics.xref $(TMP)/lib-utilities.xref\
	$(TMP)/lib-strings.xref $(TMP)/lib-locales.xref\
	$(TMP)/lib-containers.xref $(TMP)/lib-iterators.xref\
	$(TMP)/lib-algorithms.xref $(TMP)/lib-numerics.xref\
	$(TMP)/lib-iostreams.xref\
	$(TMP)/lib-iostreams.xref.aa $(TMP)/lib-iostreams.xref.ab\
	$(TMP)/gram.xref $(TMP)/limits.xref\
	$(TMP)/diff.xref $(TMP)/future.xref $(TMP)/extendid.xref

# The scripts for make dependences:

BSCRIPTS = charfont.sed section1.sed section2.sed section3.sed\
	section4.sed section5.sed section6.sed anchor.sed $(CROSSREF)

CSCRIPTS = contents.sh contents.sed $(BSCRIPTS)

TSCRIPTS = textbody.sh textbody.sed paragraph.sed $(BSCRIPTS)

# OUTER MAKE

default : verify

help :
	cat README

html :
	@$(MAKE) SRC=$(SRC) TGT=$(TGT) TMP=$(TMP) headings
	@$(MAKE) SRC=$(SRC) TGT=$(TGT) TMP=$(TMP) target

verify :
	@$(MAKE) SRC=$(SRC) TGT=$(TGT) TMP=$(TMP) headings
	@$(MAKE) SRC=$(SRC) TGT=$(TGT) TMP=$(TMP) target differences
	@echo "#################### THERE SHOULD BE NO BACKSLASH DIFFERENCES"
	@cat $(TMP)/backslash.dif
	@echo "#################### THERE SHOULD BE NO DOLLAR DIFFERENCES"
	@cat $(TMP)/dollar.dif
	@echo "#################### THERE SHOULD BE NO DOT LINE DIFFERENCES"
	@cat $(TMP)/dotline.dif

clean :
	rm -rf $(NEWHEADS) $(OLDHEADS) $(CONTENTS) $(CROSSREF)\
		$(TMP)/backslash.fnd $(TMP)/backslash.dif\
		$(TMP)/dollar.fnd $(TMP)/dollar.dif\
		$(TMP)/dotline.fnd $(TMP)/dotline.dif

SOURCES = README COPYING Makefile *.sed *.sh *.ref protoindex.html

shar : c++cnvt.shar

c++cnvt.shar : $(SOURCES)
	shar $(SOURCES) > c++cnvt.shar


target : $(TGT)/index.html $(TGT)/contents.html textbody

$(TGT)/index.html : protoindex.html
	cp protoindex.html $(TGT)/index.html

differences : $(TMP)/backslash.dif $(TMP)/dollar.dif $(TMP)/dotline.dif

# INNER MAKE

.SUFFIXES : .roff .newh .oldh .xref

# The heading lists:

headings : $(NEWHEADS)

$(TMP)/%.newh : $(SRC)/%
	grep '^\.H[1-6]' $(SRC)/$* > $(TMP)/$*.newh
	@if diff $(TMP)/$*.oldh $(TMP)/$*.newh > /dev/null 2> /dev/null ;\
	then echo "$* headings are unchanged" ;\
	else echo cp $(TMP)/$*.newh $(TMP)/$*.oldh ;\
		cp $(TMP)/$*.newh $(TMP)/$*.oldh ; /bin/true ;\
	fi

# The cross reference scripts:

$(TMP)/%.xref : $(TMP)/%.oldh anchor.sed
	sed -f anchor.sed < $(TMP)/$*.oldh | sed -e "s/#/$*.html#/g" > $(TMP)/$*.xref

$(TMP)/lib-iostreams.xref.aa $(TMP)/lib-iostreams.xref.ab : $(TMP)/lib-iostreams.xref
	split -60 $(TMP)/lib-iostreams.xref $(TMP)/lib-iostreams.xref.

# The table of contents:

$(TGT)/contents.html : $(CONTENTS)
	cat $(CONTENTS) > $(TGT)/contents.html

$(TMP)/intro.cnts : $(TMP)/intro.oldh $(CSCRIPTS)
	contents.sh $(TMP) intro 1
$(TMP)/lex.cnts : $(TMP)/lex.oldh $(CSCRIPTS)
	contents.sh $(TMP) lex 2
$(TMP)/basic.cnts : $(TMP)/basic.oldh $(CSCRIPTS)
	contents.sh $(TMP) basic 3
$(TMP)/conv.cnts : $(TMP)/conv.oldh $(CSCRIPTS)
	contents.sh $(TMP) conv 4
$(TMP)/expr.cnts : $(TMP)/expr.oldh $(CSCRIPTS)
	contents.sh $(TMP) expr 5
$(TMP)/stmt.cnts : $(TMP)/stmt.oldh $(CSCRIPTS)
	contents.sh $(TMP) stmt 6
$(TMP)/dcl.cnts : $(TMP)/dcl.oldh $(CSCRIPTS)
	contents.sh $(TMP) dcl 7
$(TMP)/decl.cnts : $(TMP)/decl.oldh $(CSCRIPTS)
	contents.sh $(TMP) decl 8
$(TMP)/class.cnts : $(TMP)/class.oldh $(CSCRIPTS)
	contents.sh $(TMP) class 9
$(TMP)/derived.cnts : $(TMP)/derived.oldh $(CSCRIPTS)
	contents.sh $(TMP) derived 10
$(TMP)/access.cnts : $(TMP)/access.oldh $(CSCRIPTS)
	contents.sh $(TMP) access 11
$(TMP)/special.cnts : $(TMP)/special.oldh $(CSCRIPTS)
	contents.sh $(TMP) special 12
$(TMP)/over.cnts : $(TMP)/over.oldh $(CSCRIPTS)
	contents.sh $(TMP) over 13
$(TMP)/template.cnts : $(TMP)/template.oldh $(CSCRIPTS)
	contents.sh $(TMP) template 14
$(TMP)/except.cnts : $(TMP)/except.oldh $(CSCRIPTS)
	contents.sh $(TMP) except 15
$(TMP)/cpp.cnts : $(TMP)/cpp.oldh $(CSCRIPTS)
	contents.sh $(TMP) cpp 16
$(TMP)/lib-intro.cnts : $(TMP)/lib-intro.oldh $(CSCRIPTS)
	contents.sh $(TMP) lib-intro 17
$(TMP)/lib-support.cnts : $(TMP)/lib-support.oldh $(CSCRIPTS)
	contents.sh $(TMP) lib-support 18
$(TMP)/lib-diagnostics.cnts : $(TMP)/lib-diagnostics.oldh $(CSCRIPTS)
	contents.sh $(TMP) lib-diagnostics 19
$(TMP)/lib-utilities.cnts : $(TMP)/lib-utilities.oldh $(CSCRIPTS)
	contents.sh $(TMP) lib-utilities 20
$(TMP)/lib-strings.cnts : $(TMP)/lib-strings.oldh $(CSCRIPTS)
	contents.sh $(TMP) lib-strings 21
$(TMP)/lib-locales.cnts : $(TMP)/lib-locales.oldh $(CSCRIPTS)
	contents.sh $(TMP) lib-locales 22
$(TMP)/lib-containers.cnts : $(TMP)/lib-containers.oldh $(CSCRIPTS)
	contents.sh $(TMP) lib-containers 23
$(TMP)/lib-iterators.cnts : $(TMP)/lib-iterators.oldh $(CSCRIPTS)
	contents.sh $(TMP) lib-iterators 24
$(TMP)/lib-algorithms.cnts : $(TMP)/lib-algorithms.oldh $(CSCRIPTS)
	contents.sh $(TMP) lib-algorithms 25
$(TMP)/lib-numerics.cnts : $(TMP)/lib-numerics.oldh $(CSCRIPTS)
	contents.sh $(TMP) lib-numerics 26
$(TMP)/lib-iostreams.cnts : $(TMP)/lib-iostreams.oldh $(CSCRIPTS)
	contents.sh $(TMP) lib-iostreams 27
$(TMP)/gram.cnts : $(TMP)/gram.oldh $(CSCRIPTS)
	contents.sh $(TMP) gram 1
$(TMP)/limits.cnts : $(TMP)/limits.oldh $(CSCRIPTS)
	contents.sh $(TMP) limits 2
$(TMP)/diff.cnts : $(TMP)/diff.oldh $(CSCRIPTS)
	contents.sh $(TMP) diff 3
$(TMP)/future.cnts : $(TMP)/future.oldh $(CSCRIPTS)
	contents.sh $(TMP) future 4
$(TMP)/extendid.cnts : $(TMP)/extendid.oldh $(CSCRIPTS)
	contents.sh $(TMP) extendid 5

# The html text body:

textbody : $(HTMLTEXT)

$(TGT)/intro.html : $(SRC)/intro $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) intro 1
$(TGT)/lex.html : $(SRC)/lex $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) lex 2
$(TGT)/basic.html : $(SRC)/basic $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) basic 3
$(TGT)/conv.html : $(SRC)/conv $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) conv 4
$(TGT)/expr.html : $(SRC)/expr $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) expr 5
$(TGT)/stmt.html : $(SRC)/stmt $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) stmt 6
$(TGT)/dcl.html : $(SRC)/dcl $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) dcl 7
$(TGT)/decl.html : $(SRC)/decl $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) decl 8
$(TGT)/class.html : $(SRC)/class $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) class 9
$(TGT)/derived.html : $(SRC)/derived $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) derived 10
$(TGT)/access.html : $(SRC)/access $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) access 11
$(TGT)/special.html : $(SRC)/special $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) special 12
$(TGT)/over.html : $(SRC)/over $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) over 13
$(TGT)/template.html : $(SRC)/template $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) template 14
$(TGT)/except.html : $(SRC)/except $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) except 15
$(TGT)/cpp.html : $(SRC)/cpp $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) cpp 16
$(TGT)/lib-intro.html : $(SRC)/lib-intro $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) lib-intro 17
$(TGT)/lib-support.html : $(SRC)/lib-support $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) lib-support 18
$(TGT)/lib-diagnostics.html : $(SRC)/lib-diagnostics $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) lib-diagnostics 19
$(TGT)/lib-utilities.html : $(SRC)/lib-utilities $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) lib-utilities 20
$(TGT)/lib-strings.html : $(SRC)/lib-strings $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) lib-strings 21
$(TGT)/lib-locales.html : $(SRC)/lib-locales $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) lib-locales 22
$(TGT)/lib-containers.html : $(SRC)/lib-containers $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) lib-containers 23
$(TGT)/lib-iterators.html : $(SRC)/lib-iterators $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) lib-iterators 24
$(TGT)/lib-algorithms.html : $(SRC)/lib-algorithms $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) lib-algorithms 25
$(TGT)/lib-numerics.html : $(SRC)/lib-numerics $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) lib-numerics 26
$(TGT)/lib-iostreams.html : $(SRC)/lib-iostreams $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) lib-iostreams 27
$(TGT)/gram.html : $(SRC)/gram $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) gram 1
$(TGT)/limits.html : $(SRC)/limits $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) limits 2
$(TGT)/diff.html : $(SRC)/diff $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) diff 3
$(TGT)/future.html : $(SRC)/future $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) future 4
$(TGT)/extendid.html : $(SRC)/extendid $(TSCRIPTS)
	textbody.sh $(TGT) $(SRC) $(TMP) extendid 5

# The verification differences:

$(TMP)/backslash.dif : backslash.ref $(TMP)/backslash.fnd
	-diff backslash.ref $(TMP)/backslash.fnd > $(TMP)/backslash.dif

$(TMP)/backslash.fnd : $(TGT)/contents.html $(HTMLTEXT)
	-grep '\\' $(TGT)/contents.html $(HTMLTEXT) |\
		sed -e "s|^$(TGT)\/||" > $(TMP)/backslash.fnd

$(TMP)/dollar.dif : dollar.ref $(TMP)/dollar.fnd
	-diff dollar.ref $(TMP)/dollar.fnd > $(TMP)/dollar.dif

$(TMP)/dollar.fnd : $(TGT)/contents.html $(HTMLTEXT)
	-grep '\$$' $(TGT)/contents.html $(HTMLTEXT) |\
		 sed -e "s|^$(TGT)\/||" > $(TMP)/dollar.fnd

$(TMP)/dotline.dif : dotline.ref $(TMP)/dotline.fnd
	-diff dotline.ref $(TMP)/dotline.fnd > $(TMP)/dotline.dif

$(TMP)/dotline.fnd : $(TGT)/contents.html $(HTMLTEXT)
	-grep '^\.' $(TGT)/contents.html $(HTMLTEXT) |\
		 sed -e "s|^$(TGT)\/||" > $(TMP)/dotline.fnd

SHAR_EOF
fi
if test -f 'anchor.sed'
then
	echo shar: "will not over-write existing file 'anchor.sed'"
else
cat << \SHAR_EOF > 'anchor.sed'
# Copyright 06/14/98 Sun Microsystems, Inc., All Rights Reserved.
# @(#)anchor.sed 1.1 on 98/06/14 21:03:24
# Author: Lawrence Crowl
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# See the file COPYING.
#
s/^\.H1 "\(.*\)" \([^ ]*\) \([^ ]*\)$/s\/_\2_\/<a href="#\2"><\\\/a>\/g/
s/^\.H1 "\(.*\)" \([^ ]*\) \([^ ]*\)$/s\/_\2_\/<a href="#\2"><\\\/a>\/g/
s/^\.H1 "\(.*\)" \([^ ]*\) \([^ ]*\) \([^ "]*\)$/s\/_\2_\/<a href="#\2"><\\\/a>\/g/
s/^\.H1 "\(.*\)" \([^ ]*\) \([^ ]*\) "\([^"]*\)"$/s\/_\2_\/<a href="#\2"><\\\/a>\/g/
s/^\.H2 "\(.*\)" \([^ ]*\)$/s\/_\2_\/<a href="#\2"><\\\/a>\/g/
s/^\.H2 "\(.*\)"$/s\/_NO TAG \1 NO TAG_\/<a href="#\1">NO TAG<\\\/a>\/g/
s/^\.H3 "\(.*\)" \([^ ]*\)$/s\/_\2_\/<a href="#\2"><\\\/a>\/g/
s/^\.H3 \([^" ][^" ]*\) \([^ ]*\)$/s\/_\2_\/<a href="#\2"><\\\/a>\/g/
s/^\.H3 "\(.*\)"$/s\/_NO TAG \1 NO TAG_\/<a href="#\1">NO TAG<\\\/a>\/g/
s/^\.H4 "\(.*\)" \([^ ]*\)$/s\/_\2_\/<a href="#\2"><\\\/a>\/g/
s/^\.H4 "\(.*\)"$/s\/_NO TAG \1 NO TAG_\/<a href="#\1">NO TAG<\\\/a>\/g/
s/^\.H5 "\(.*\)" \([^ ]*\)$/s\/_\2_\/<a href="#\2"><\\\/a>\/g/
s/^\.H5 "\(.*\)"$/s\/_NO TAG \1 NO TAG_\/<a href="#\1">NO TAG<\\\/a>\/g/
s/^\.H6 "\(.*\)" \([^ ]*\)$/s\/_\2_\/<a href="#\2"><\\\/a>\/g/
s/^\.H6 "\(.*\)"$/s\/_NO TAG \1 NO TAG_\/<a href="#\1">NO TAG<\\\/a>\/g/
SHAR_EOF
fi
if test -f 'charfont.sed'
then
	echo shar: "will not over-write existing file 'charfont.sed'"
else
cat << \SHAR_EOF > 'charfont.sed'
# Copyright 06/14/98 Sun Microsystems, Inc., All Rights Reserved.
# @(#)charfont.sed 1.1 on 98/06/14 21:03:25
# Author: Lawrence Crowl
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# See the file COPYING.
#
# strip trailing white space
s/[ 	][ 	]*$//
# problematic roff/html escape character interactions
s/\\&/ /g
s/&/\&amp;/g
s/\\(->/->/g
s/</\&lt;/g
s/>/\&gt;/g
# special math mode hacks
s/$\&lt;\$/\&lt;/g
s/$\&gt;\$/\&gt;/g
s/$\([^ ]\)\$/<i>\1<\/i>/g
s/$\([^ ][^ ]\)\$/<i>\1<\/i>/g
s/$\([^ ][^ ][^ ][^ ][^ ]\)\$/<i>\1<\/i>/g
s/$\([^ ] *\)\&gt;\( *[^ ]\)\$/<i>\1\&gt;\2<\/i>/g
s/$\([^ ] *\)\&lt;\( *[^ ] *\)\&lt;\( *[^ ]\)\$/<i>\1\&lt;\2\&lt;\3<\/i>/g
s/$\([^ ]\) sup \([^ ]\)\$/<i>\1<sup>\2<\/sup><\/i>/g
s/$\([^ ]\) sub \([^ ]\)\$/<i>\1<sub>\2<\/sub><\/i>/g
s/$\([^ ]\) sub \([^ ][^ ][^ ]\)\$/<i>\1<sub>\2<\/sub><\/i>/g
s/$\([^ ][^ ]\) sub \([^ ][^ ][^ ]\)\$/<i>\1<sub>\2<\/sub><\/i>/g
s/$l sub {i j} - 1\$/<i>l<sub>i j<\/sub> - 1<\/i>/g
s/$k = s + sum from j { i sub j d sub j }\$/<i>k = s + sum from j { i<sub>j<\/sub> d<sub>j<\/sub> }<\/i>/g
s/$max ( abs ( e sub min ) - 1, abs ( e sub max ))\$/<i>max ( abs ( e<sub>min<\/sub> ) - 1, abs( e<sub>max<\/sub> ))<\/i>/g
s/$2 sup M - 1\$/<i>2<sup>M<\/sup> - 1<\/i>/g
s/$-( b sub max + 1 )\$/<i>-( b<sub>max<\/sub> + 1 )<\/i>/g
s/$j times ... times k\$/<i>j \&times; ... \&times; k<\/i>/g
s/$i times j times ... times k\$/<i>i \&times; j \&times; ... \&times; k<\/i>/g
s/k = 3 + (0,1) times 19 + (0,1,2,3) times 4 + (0,1,2) times 1/<i>k = 3 + (0,1) \&times; 19 + (0,1,2,3) \&times; 4 + (0,1,2) \&times; 1<\/i>/
# various roff escaped characters
s/\\ /\&nbsp;/g
s/\\(co/\&copy;/g
s/\\(''/''/g
s/\\(==/ defined to be /g
s/\\(``/``/g
s/\\(em/ --- /g
s/\\(en/ -- /g
s/\\(mu/\&times;/g
s/\\(pl/+/g
s/\\-/-/g
s/\\@/@/g
s/\\N'95'/_/g
s/\\\*(''/''/g
s/\\\*(``/``/g
s/\\\*(op/<sub>opt<\/sub>/g
s/\\\*C/C++/g
s/\\\*f/*/g
s/\\\*~/~/g
s/\\\\/\\/g
s/\\^//g
s/\\_/_/g
s/\\e/\\/g
s/\\|//g
# table references
s/\\n(Tn/??/g
s/\\n(Lf/??/g
s/\\n(Lr/??/g
s/\\n\+(Tn/??/g
# manual superscripting
s/\\u\\s-2\([^\\]*\)\\s0\\d/<sup>\1<\/sup>/g
# fonts without embedded backslash, and therefore not nested
/^\.Cb$/,/^\.Ce$/s/\\f1\([^\\]*\)\\fP/<\/tt>\1<tt>/g
/^\.Cb$/,/^\.Ce$/s/\\f2\([^\\]*\)\\fP/<\/tt><i>\1<\/i><tt>/g
/^\.SS$/,/^\.SE$/s/\\f1\([^\\]*\)\\fP/<\/i>\1<i>/g
/^\.TS$/,/^\.TE$/s/\\f1\([^\\]*\)\\fP/\1/g
s/\\f2\([^\\]*\)\\fP/<i>\1<\/i>/g
s/\\f3\([^\\]*\)\\fP/<b>\1<\/b>/g
s/\\f4\([^\\]*\)\\fP/<i><b>\1<\/b><\/i>/g
s/\\f5\([^\\]*\)\\fP/<tt>\1<\/tt>/g
s/\\f6\([^\\]*\)\\fP/<tt><i>\1<\/i><\/tt>/g
s/\\f7\([^\\]*\)\\fP/<tt><b>\1<\/b><\/tt>/g
# fonts without embedded backslash, and therefore not nested, again
/^\.Cb$/,/^\.Ce$/s/\\f1\([^\\]*\)\\fP/<\/tt>\1<tt>/g
/^\.Cb$/,/^\.Ce$/s/\\f2\([^\\]*\)\\fP/<\/tt><i>\1<\/i><tt>/g
/^\.SS$/,/^\.SE$/s/\\f1\([^\\]*\)\\fP/<\/i>\1<i>/g
/^\.TS$/,/^\.TE$/s/\\f1\([^\\]*\)\\fP/\1/g
s/\\f2\([^\\]*\)\\fP/<i>\1<\/i>/g
s/\\f3\([^\\]*\)\\fP/<b>\1<\/b>/g
s/\\f4\([^\\]*\)\\fP/<i><b>\1<\/b><\/i>/g
s/\\f5\([^\\]*\)\\fP/<tt>\1<\/tt>/g
s/\\f6\([^\\]*\)\\fP/<tt><i>\1<\/i><\/tt>/g
s/\\f7\([^\\]*\)\\fP/<tt><b>\1<\/b><\/tt>/g
# fonts with at most one embedded backslash, but not \f
/^\.Cb$/,/^\.Ce$/s/\\f1\([^\\]*\\[^f][^\\]*\)\\fP/<\/tt>\1<tt>/g
/^\.Cb$/,/^\.Ce$/s/\\f2\([^\\]*\\[^f][^\\]*\)\\fP/<\/tt><i>\1<\/i><tt>/g
/^\.SS$/,/^\.SE$/s/\\f1\([^\\]*\\[^f][^\\]*\)\\fP/<\/i>\1<i>/g
/^\.TS$/,/^\.TE$/s/\\f1\([^\\]*\\[^f][^\\]*\)\\fP/\1/g
s/\\f2\([^\\]*\\[^f][^\\]*\)\\fP/<i>\1<\/i>/g
s/\\f3\([^\\]*\\[^f][^\\]*\)\\fP/<b>\1<\/b>/g
s/\\f4\([^\\]*\\[^f][^\\]*\)\\fP/<i>\1<\/i>/g
s/\\f4\([^\\]*\\[^f][^\\]*\)\\fP/<i><b>\1<\/b><\/i>/g
s/\\f5\([^\\]*\\[^f][^\\]*\)\\fP/<tt>\1<\/tt>/g
s/\\f6\([^\\]*\\[^f][^\\]*\)\\fP/<tt><i>\1<\/i><\/tt>/g
s/\\f7\([^\\]*\\[^f][^\\]*\)\\fP/<tt><b>\1<\/b><\/tt>/g
# fonts with at most one embedded backslash, but not \f
/^\.Cb$/,/^\.Ce$/s/\\f1\([^\\]*\\[^f][^\\]*\)\\fP/<\/tt>\1<tt>/g
/^\.Cb$/,/^\.Ce$/s/\\f2\([^\\]*\\[^f][^\\]*\)\\fP/<\/tt><i>\1<\/i><tt>/g
/^\.SS$/,/^\.SE$/s/\\f1\([^\\]*\\[^f][^\\]*\)\\fP/<\/i>\1<i>/g
/^\.TS$/,/^\.TE$/s/\\f1\([^\\]*\\[^f][^\\]*\)\\fP/\1/g
s/\\f2\([^\\]*\\[^f][^\\]*\)\\fP/<i>\1<\/i>/g
s/\\f3\([^\\]*\\[^f][^\\]*\)\\fP/<b>\1<\/b>/g
s/\\f4\([^\\]*\\[^f][^\\]*\)\\fP/<i><b>\1<\/b><\/i>/g
s/\\f5\([^\\]*\\[^f][^\\]*\)\\fP/<tt>\1<\/tt>/g
s/\\f6\([^\\]*\\[^f][^\\]*\)\\fP/<tt><i>\1<\/i><\/tt>/g
s/\\f7\([^\\]*\\[^f][^\\]*\)\\fP/<tt><b>\1<\/b><\/tt>/g
# special purpose hack
s/\\f5'\\0'\\fP/<tt>'\\0'<\/tt>/g
# fonts with embedded backslash
/^\.Cb$/,/^\.Ce$/s/\\f1\(.*\)\\fP/<\/tt>\1<tt>/g
/^\.Cb$/,/^\.Ce$/s/\\f2\(.*\)\\fP/<\/tt><i>\1<\/i><tt>/g
/^\.SS$/,/^\.SE$/s/\\f1\(.*\)\\fP/<\/i>\1<i>/g
/^\.TS$/,/^\.TE$/s/\\f1\(.*\)\\fP/\1/g
s/\\f2\(.*\)\\fP/<i>\1<\/i>/g
s/\\f3\(.*\)\\fP/<b>\1<\/b>/g
s/\\f4\(.*\)\\fP/<i><b>\1<\/b><\/i>/g
s/\\f5\(.*\)\\fP/<tt>\1<\/tt>/g
s/\\f6\(.*\)\\fP/<tt><i>\1<\/i><\/tt>/g
s/\\f7\(.*\)\\fP/<tt><b>\1<\/b><\/tt>/g
# fonts out of phase without embedded backslash, and therefore not nested
/^\.Cb$/,/^\.Ce$/s/\\fP\([^\\]*\)\\f2/<\/i><tt>\1<\/tt><i>/g
/^\.SS$/,/^\.SE$/s/\\fP\([^\\]*\)\\f2/<\/i>\1<i>/g
# fonts out of phase with embedded backslash
/^\.Cb$/,/^\.Ce$/s/\\fP\(.*\)\\f2/<\/i><tt>\1<\/tt><i>/g
/^\.SS$/,/^\.SE$/s/\\fP\(.*\)\\f2/<\/i>\1<i>/g
# fonts starting on a line, but not ending
/^\.Cb$/,/^\.Ce$/s/\\f1/<\/i>/g
/^\.Cb$/,/^\.Ce$/s/\\f2/<\/tt><i>/g
/^\.SS$/,/^\.SE$/s/\\f1/<\/i>/g
/^\.SS$/,/^\.SE$/s/\\f2/<i>/g
# fonts ending on a line, but not starting
/^\.Cb$/,/^\.Ce$/s/\\fP/<\/i><\/tt>/g
/^\.SS$/,/^\.SE$/s/\\fP/<\/i>/g
# changing font size
s/\\s-1\([^\\]*\)\\s0/<small>\1<\/small>/g
s/\\s-2\([^\\]*\)\\s0/<small>\1<\/small>/g
SHAR_EOF
fi
if test -f 'contents.sed'
then
	echo shar: "will not over-write existing file 'contents.sed'"
else
cat << \SHAR_EOF > 'contents.sed'
# Copyright 06/14/98 Sun Microsystems, Inc., All Rights Reserved.
# @(#)contents.sed 1.1 on 98/06/14 21:03:25
# Author: Lawrence Crowl
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# See the file COPYING.
#
s/^\.H1 "\(.*\)" \([^ ]*\) \([^ ]*\)$/<p><b><h1>\3 - \1 [_\2_]<\/b><br>/
s/^\.H1 "\(.*\)" \([^ ]*\) \([^ ]*\) \([^ "]*\)$/<p><b><h1>\3 - \1 \4 [_\2_]<\/b><br>/
s/^\.H1 "\(.*\)" \([^ ]*\) \([^ ]*\) "\([^"]*\)"$/<p><b><h1>\3 - \1 \4 [_\2_]<\/b><br>/
s/^\.H2 "\(.*\)" \([^ ]*\)$/<b><h2>##.# - \1 [_\2_]<\/b><br>/
s/^\.H2 "\(.*\)"$/<b><h2>##.# - \1 [_NO TAG \1 NO TAG_]<\/b><br>/
s/^\.H3 "\(.*\)" \([^ ]*\)$/<h3>##.#.# - \1 [_\2_]<br>/
s/^\.H3 \([^" ][^" ]*\) \([^ ]*\)$/<h3>##.#.# - \1 [_\2_]<br>/
s/^\.H3 "\(.*\)"$/<b><h3>##.#.# - \1 [_NO TAG \1 NO TAG_]<\/b><br>/
s/^\.H4 "\(.*\)" \([^ ]*\)$/<h4>##.#.#.# - \1 [_\2_]<br>/
s/^\.H4 "\(.*\)"$/<b><h4>##.#.#.# - \1 [_NO TAG \1 NO TAG_]<\/b><br>/
s/^\.H5 "\(.*\)" \([^ ]*\)$/<h5>##.#.#.#.# - \1 [_\2_]<br>/
s/^\.H5 "\(.*\)"$/<b><h5>##.#.#.#.# - \1 [_NO TAG \1 NO TAG_]<\/b><br>/
s/^\.H6 "\(.*\)" \([^ ]*\)$/<h6>##.#.#.#.#.# - \1 [_\2_]<br>/
s/^\.H6 "\(.*\)"$/<b><h6>##.#.#.#.#.# - \1 [_NO TAG \1 NO TAG_]<\/b><br>/
SHAR_EOF
fi
if test -f 'paragraph.sed'
then
	echo shar: "will not over-write existing file 'paragraph.sed'"
else
cat << \SHAR_EOF > 'paragraph.sed'
# Copyright 06/14/98 Sun Microsystems, Inc., All Rights Reserved.
# @(#)paragraph.sed 1.1 on 98/06/14 21:03:27
# Author: Lawrence Crowl
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# See the file COPYING.
#
/<h[1-9]/,/<h0>/s/<h0>/<p><b>-1-<\/b>/
/<h[1-9]/,/<h0>/s/<h0>/<p><b>-2-<\/b>/
/<h[1-9]/,/<h0>/s/<h0>/<p><b>-3-<\/b>/
/<h[1-9]/,/<h0>/s/<h0>/<p><b>-4-<\/b>/
/<h[1-9]/,/<h0>/s/<h0>/<p><b>-5-<\/b>/
/<h[1-9]/,/<h0>/s/<h0>/<p><b>-6-<\/b>/
/<h[1-9]/,/<h0>/s/<h0>/<p><b>-7-<\/b>/
/<h[1-9]/,/<h0>/s/<h0>/<p><b>-8-<\/b>/
/<h[1-9]/,/<h0>/s/<h0>/<p><b>-9-<\/b>/
/<h[1-9]/,/<h0>/s/<h0>/<p><b>-10-<\/b>/
/<h[1-9]/,/<h0>/s/<h0>/<p><b>-11-<\/b>/
/<h[1-9]/,/<h0>/s/<h0>/<p><b>-12-<\/b>/
/<h[1-9]/,/<h0>/s/<h0>/<p><b>-13-<\/b>/
/<h[1-9]/,/<h0>/s/<h0>/<p><b>-14-<\/b>/
/<h[1-9]/,/<h0>/s/<h0>/<p><b>-15-<\/b>/
/<h[1-9]/,/<h0>/s/<h0>/<p><b>-16-<\/b>/
/<h[1-9]/,/<h0>/s/<h0>/<p><b>-17-<\/b>/
/<h[1-9]/,/<h0>/s/<h0>/<p><b>-18-<\/b>/
/<h[1-9]/,/<h0>/s/<h0>/<p><b>-19-<\/b>/
SHAR_EOF
fi
if test -f 'section1.sed'
then
	echo shar: "will not over-write existing file 'section1.sed'"
else
cat << \SHAR_EOF > 'section1.sed'
# Copyright 06/14/98 Sun Microsystems, Inc., All Rights Reserved.
# @(#)section1.sed 1.1 on 98/06/14 21:03:27
# Author: Lawrence Crowl
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# See the file COPYING.
#
/<h1>/,/<h2>##\.#/s/##\.#/##.1/
/<h1>/,/<h2>##\.#/s/##\.#\./##.1./
/<h1>/,/<h2>##\.#/s/##\.#/##.2/
/<h1>/,/<h2>##\.#/s/##\.#\./##.2./
/<h1>/,/<h2>##\.#/s/##\.#/##.3/
/<h1>/,/<h2>##\.#/s/##\.#\./##.3./
/<h1>/,/<h2>##\.#/s/##\.#/##.4/
/<h1>/,/<h2>##\.#/s/##\.#\./##.4./
/<h1>/,/<h2>##\.#/s/##\.#/##.5/
/<h1>/,/<h2>##\.#/s/##\.#\./##.5./
/<h1>/,/<h2>##\.#/s/##\.#/##.6/
/<h1>/,/<h2>##\.#/s/##\.#\./##.6./
/<h1>/,/<h2>##\.#/s/##\.#/##.7/
/<h1>/,/<h2>##\.#/s/##\.#\./##.7./
/<h1>/,/<h2>##\.#/s/##\.#/##.8/
/<h1>/,/<h2>##\.#/s/##\.#\./##.8./
/<h1>/,/<h2>##\.#/s/##\.#/##.9/
/<h1>/,/<h2>##\.#/s/##\.#\./##.9./
/<h1>/,/<h2>##\.#/s/##\.#/##.10/
/<h1>/,/<h2>##\.#/s/##\.#\./##.10./
/<h1>/,/<h2>##\.#/s/##\.#/##.11/
/<h1>/,/<h2>##\.#/s/##\.#\./##.11./
/<h1>/,/<h2>##\.#/s/##\.#/##.12/
/<h1>/,/<h2>##\.#/s/##\.#\./##.12./
/<h1>/,/<h2>##\.#/s/##\.#/##.13/
/<h1>/,/<h2>##\.#/s/##\.#\./##.13./
/<h1>/,/<h2>##\.#/s/##\.#/##.14/
/<h1>/,/<h2>##\.#/s/##\.#\./##.14./
/<h1>/,/<h2>##\.#/s/##\.#/##.15/
/<h1>/,/<h2>##\.#/s/##\.#\./##.15./
/<h1>/,/<h2>##\.#/s/##\.#/##.16/
/<h1>/,/<h2>##\.#/s/##\.#\./##.16./
/<h1>/,/<h2>##\.#/s/##\.#/##.17/
/<h1>/,/<h2>##\.#/s/##\.#\./##.17./
/<h1>/,/<h2>##\.#/s/##\.#/##.18/
/<h1>/,/<h2>##\.#/s/##\.#\./##.18./
/<h1>/,/<h2>##\.#/s/##\.#/##.19/
/<h1>/,/<h2>##\.#/s/##\.#\./##.19./
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#/##\11/
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#\./##\11./
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#/##\12/
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#\./##\12./
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#/##\13/
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#\./##\13./
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#/##\14/
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#\./##\14./
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#/##\15/
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#\./##\15./
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#/##\16/
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#\./##\16./
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#/##\17/
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#\./##\17./
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#/##\18/
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#\./##\18./
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#/##\19/
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#\./##\19./
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#/##\110/
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#\./##\110./
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#/##\111/
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#\./##\111./
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#/##\112/
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#\./##\112./
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#/##\113/
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#\./##\113./
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#/##\114/
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#\./##\114./
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#/##\115/
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#\./##\115./
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#/##\116/
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#\./##\116./
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#/##\117/
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#\./##\117./
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#/##\118/
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#\./##\118./
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#/##\119/
/<h2>/,/<h3>##\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.\)#\./##\119./
SHAR_EOF
fi
if test -f 'section2.sed'
then
	echo shar: "will not over-write existing file 'section2.sed'"
else
cat << \SHAR_EOF > 'section2.sed'
# Copyright 06/14/98 Sun Microsystems, Inc., All Rights Reserved.
# @(#)section2.sed 1.1 on 98/06/14 21:03:28
# Author: Lawrence Crowl
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# See the file COPYING.
#
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\11/
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\11./
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\12/
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\12./
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\13/
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\13./
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\14/
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\14./
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\15/
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\15./
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\16/
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\16./
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\17/
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\17./
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\18/
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\18./
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\19/
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\19./
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\110/
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\110./
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\111/
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\111./
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\112/
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\112./
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\113/
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\113./
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\114/
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\114./
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\115/
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\115./
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\116/
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\116./
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\117/
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\117./
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\118/
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\118./
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\119/
/<h3>/,/<h4>##\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\119./
SHAR_EOF
fi
if test -f 'section3.sed'
then
	echo shar: "will not over-write existing file 'section3.sed'"
else
cat << \SHAR_EOF > 'section3.sed'
# Copyright 06/14/98 Sun Microsystems, Inc., All Rights Reserved.
# @(#)section3.sed 1.1 on 98/06/14 21:03:28
# Author: Lawrence Crowl
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# See the file COPYING.
#
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\11/
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\11./
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\12/
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\12./
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\13/
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\13./
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\14/
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\14./
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\15/
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\15./
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\16/
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\16./
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\17/
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\17./
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\18/
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\18./
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\19/
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\19./
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\110/
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\110./
SHAR_EOF
fi
if test -f 'section4.sed'
then
	echo shar: "will not over-write existing file 'section4.sed'"
else
cat << \SHAR_EOF > 'section4.sed'
# Copyright 06/14/98 Sun Microsystems, Inc., All Rights Reserved.
# @(#)section4.sed 1.1 on 98/06/14 21:03:28
# Author: Lawrence Crowl
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# See the file COPYING.
#
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\111/
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\111./
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\112/
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\112./
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\113/
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\113./
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\114/
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\114./
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\115/
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\115./
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\116/
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\116./
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\117/
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\117./
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\118/
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\118./
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\119/
/<h4>/,/<h5>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\119./
SHAR_EOF
fi
if test -f 'section5.sed'
then
	echo shar: "will not over-write existing file 'section5.sed'"
else
cat << \SHAR_EOF > 'section5.sed'
# Copyright 06/14/98 Sun Microsystems, Inc., All Rights Reserved.
# @(#)section5.sed 1.1 on 98/06/14 21:03:29
# Author: Lawrence Crowl
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# See the file COPYING.
#
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\11/
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\11./
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\12/
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\12./
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\13/
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\13./
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\14/
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\14./
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\15/
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\15./
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\16/
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\16./
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\17/
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\17./
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\18/
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\18./
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\19/
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\19./
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\110/
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\110./
SHAR_EOF
fi
if test -f 'section6.sed'
then
	echo shar: "will not over-write existing file 'section6.sed'"
else
cat << \SHAR_EOF > 'section6.sed'
# Copyright 06/14/98 Sun Microsystems, Inc., All Rights Reserved.
# @(#)section6.sed 1.1 on 98/06/14 21:03:29
# Author: Lawrence Crowl
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# See the file COPYING.
#
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\111/
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\111./
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\112/
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\112./
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\113/
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\113./
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\114/
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\114./
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\115/
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\115./
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\116/
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\116./
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\117/
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\117./
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\118/
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\118./
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#/##\119/
/<h5>/,/<h6>##\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.#/s/##\(\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.\)#\./##\119./
SHAR_EOF
fi
if test -f 'textbody.sed'
then
	echo shar: "will not over-write existing file 'textbody.sed'"
else
cat << \SHAR_EOF > 'textbody.sed'
# Copyright 06/14/98 Sun Microsystems, Inc., All Rights Reserved.
# @(#)textbody.sed 1.1 on 98/06/14 21:03:29
# Author: Lawrence Crowl
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# See the file COPYING.
#
# lines to ignore
/^\.\\"/d
/^\.ix/d
/^\.is/d
/^\.ML .*$/d
/^\.ne/d
/^\.nr/d
/^\.ig$/,/^\.\.$/d
/^\.ig\\"/,/^\.\.\\"/d
# headings
s/^\.H1 "\(.*\)" \([^ ]*\) \([^ ]*\)$/<title>ISO\/IEC 14882:1998(E) -- C++ -- \1<\/title><a name="\2"><h1>\3 - \1 [\2]<\/h1><\/a>/
s/^\.H1 "\(.*\)" \([^ ]*\) \([^ ]*\) \([^ "]*\)$/<title>ISO\/IEC 14882:1998(E) -- C++ -- \1<\/title><a name="\2"><h1>\3 - \1 \4 [\2]<\/h1><\/a>/
s/^\.H1 "\(.*\)" \([^ ]*\) \([^ ]*\) "\([^"]*\)"$/<title>ISO\/IEC 14882:1998(E) -- C++ -- \1<\/title><a name="\2"><h1>\3 - \1 \4 [\2]<\/h1><\/a>/
s/^\.H2 "\(.*\)" \([^ ]*\)$/<\/ul><\/ol><\/dl><a name="\2"><h2>##.# - \1 [\2]<\/h2><\/a>/
s/^\.H2 "\(.*\)"$/<\/ul><\/ol><\/dl><a name="\1"><h2>##.# - \1<\/h2><\/a>/
s/^\.H3 "\(.*\)" \([^ ]*\)$/<\/ul><\/ol><\/dl><a name="\2"><h3>##.#.# - \1 [\2]<\/h3><\/a>/
s/^\.H3 \([^" ][^" ]*\) \([^ ]*\)$/<a name="\2"><h3>##.#.# - \1 [\2]<\/h3><\/a>/
s/^\.H3 "\(.*\)"$/<\/ul><\/ol><\/dl><a name="\1"><h3>##.#.# - \1<\/h2><\/a>/
s/^\.H4 "\(.*\)" \([^ ]*\)$/<\/ul><\/ol><\/dl><a name="\2"><h4>##.#.#.# - \1 [\2]<\/h4><\/a>/
s/^\.H4 "\(.*\)"$/<\/ul><\/ol><\/dl><a name="\1"><h4>##.#.#.# - \1<\/h2><\/a>/
s/^\.H5 "\(.*\)" \([^ ]*\)$/<\/ul><\/ol><\/dl><a name="\2"><h5>##.#.#.#.# - \1 [\2]<\/h5><\/a>/
s/^\.H5 "\(.*\)"$/<\/ul><\/ol><\/dl><a name="\1"><h5>##.#.#.#.# - \1<\/h2><\/a>/
s/^\.H6 "\(.*\)" \([^ ]*\)$/<\/ul><\/ol><\/dl><a name="\2"><h6>##.#.#.#.#.# - \1 [\2]<\/h6><\/a>/
s/^\.H6 "\(.*\)"$/<\/ul><\/ol><\/dl><a name="\1"><h6>##.#.#.#.#.# - \1<\/h2><\/a>/
# paragraphs (numbered and not)
s/^\.P$/<\/ul><\/ol><\/dl><h0>/
s/^\.sp$/<p>/
s/^\.sp \.5v$/<p>/
s/^\.br$/<br>/
s/^\.IP$/<p>/
s/^\.LP$/<p>/
s/^\.LI$/<\/ul><ul><li>/
s/^\.LI \([1-9]\)$/<\/ol><ol start=\1><li>/
s/^\.LI \([1-9]\))$/<\/ol><ol start=\1><li>/
s/^\.LI (\([1-9]\))$/<\/ol><ol start=\1><li>/
s/^\.LI "\([^"]*\)"$/<\/dl><dl><dt>\1<dd>/
s/^\.IP \([1-9]\))$/<\/ol><ol start=\1><li>/
s/^\.IP a)$/<\/ol><ol type=a start=1><li>/
s/^\.IP b)$/<\/ol><ol type=a start=2><li>/
s/^\.LE$/<\/ul><\/ol><\/dl>/
# examples and notes
s/^\.Fs$/<blockquote>[Footnote:/
s/^\.Fe$/--- end foonote]<\/blockquote>/
s/^\.eN$/<blockquote>[Editorial Box:/
s/^\.nE$/--- end editorial box]<\/blockquote>/
s/^\.E\[$/[<i>Example:<\/i>/
s/^\.E\]$/<br>--- end example]/
s/^\.E\] e$/]/
s/^\.N\[$/[<i>Note:<\/i>/
s/^\.N\]$/<br>--- end note]/
s/^\.N\] e$/]/
s/^\.DS L$/<p><b>/
s/^\.DE$/<\/b><\/p>/
s/^\.Cb$/<blockquote><tt><pre>/
s/^\.Ce$/<\/pre><\/tt><\/blockquote>/
s/^\.Pb$/<\/dl><\/ol><\/ul><tt><blockquote><pre>/
s/^\.Pe$/<\/pre><\/blockquote><\/tt>/
s/^\.La "\([^"]*\)"$/<\/ul><\/ol><\/dl><h0> <b>\1<\/b>/
s/^\.La \([^ ]*\)$/<\/ul><\/ol><\/dl><h0> <b>\1<\/b>/
s/^\.SS$/<blockquote><pre>/
s/^\.ES$/<\/i><\/pre><\/blockquote>/
s/^\.RS$/<blockquote>/
s/^\.RE$/<\/blockquote>/
# equations and diagrams
s/^\.EQ$/<blockquote>/
s/^\.EQ I$/<blockquote>/
/^delim \$\$$/d
/^delim off$/d
s/^\.EN$/<\/blockquote>/
s/^\.if .*$/[ROFF TAB STOPS SET]/
/^\.PS$/i\
[ROFF DIAGRAM OMITTED]
/^\.PS$/,/^\.PE$/d
# remove macro definitions
/^\.de /,/^\.\.$/d
# do the effect of their bodies
s/^\.cH "\(.*\)"$/<\/ul><\/ol><\/dl><h0> <b>Change:<\/b> \1<br>/
s/^\.rA$/<br><b>Rationale:<\/b>/
s/^\.eF$/<br><b>Effect on original feature:<\/b>/
s/^\.dI$/<br><b>Difficulty of converting:<\/b>/
s/^\.hO$/<br><b>How widely used:<\/b>/
s/^\.h4 "\(.*\)"$/<p><b>\1<\/b>/
# miscellany
s/^\.na$/<br>/
s/^\.ad$/<br>/
s/^\.Xr\(.*\)$/<p>See also\1/
# tables
s/^\.Ts "\([^"]*\)"$/<p><center><table border><caption>\1<\/caption>/
s/^\.Ts "\([^"]*\)" *"\([^"]*\)"$/<p><center><table border><caption>\1 \2<\/caption>/
s/\\c.//
/^\.TS$/,/^\.TE$/s/	/<\/td><td>/g
/^center allbox *;$/,/\.$/d
/^center box *;$/,/\.$/d
/^center box expand *;$/,/\.$/d
/^box center *;$/,/\.$/d
/^\.T&amp;$/,/\.$/d
/^\.TS$/,/^\.TE$/s/^=$//
/^\.TS$/,/^\.TE$/s/^_$//
/^\.TS$/,/^\.TE$/s/^\([^.].*\)$/<tr><td>\1<\/td><\/tr>/
/^\.TS$/,/^\.TE$/s/^<tr><td>T}\(.*\)T{<\/td><\/tr>$/\1/
/T{<\/td><\/tr>$/,/^<tr><td>T}/s/^<tr><td>\([^T].*[^{]\)<\/td><\/tr>$/\1/
/T{<\/td><\/tr>$/,/^<tr><td>T}/s/^<tr><td>\([^T].*[^T]{\)<\/td><\/tr>$/\1/
/T{<\/td><\/tr>$/,/^<tr><td>T}/s/^<tr><td>\(T[^}].*[^{]\)<\/td><\/tr>$/\1/
/T{<\/td><\/tr>$/,/^<tr><td>T}/s/^<tr><td>\(T[^}].*[^T]{\)<\/td><\/tr>$/\1/
/T{<\/td><\/tr>$/,/^<tr><td>T}/s/^<tr><td>T}\(.*\)<\/td><\/tr>$/\1<\/td><\/tr>/
/T{<\/td><\/tr>$/,/^<tr><td>T}/s/^<tr><td>\(.*\)T{<\/td><\/tr>$/<tr><td>\1/
/^\.TS$/d
/^\.TE$/d
s/^\.Te$/<\/table><\/center><p>/
s/<td><\/td>/<td>\&nbsp;<\/td>/g
# font directives
s/^\.B "\([^"]*\)"$/<b>\1<\/b>/
s/^\.B \([^" ][^" ]*\)$/<b>\1<\/b>/
s/^\.B "\([^"]*\)"  *\([^" ][^" ]*\)$/<b>\1<\/b>\2/
s/^\.CW "\([^"]*\)"$/<tt>\1<\/tt>/
s/^\.CW \([^" ][^" ]*\)$/<tt>\1<\/tt>/
s/^\.CW \([^" ][^" ]*\) \([^ ][^ ]*\)$/<tt>\1<\/tt>\2/
s/^\.CW \([^" ][^" ]*\) "\([^"]*\)"$/<tt>\1<\/tt>\2/
s/^\.CW "\([^"]*\)"  *\([^" ][^" ]*\)$/<tt>\1<\/tt>\2/
s/^\.CW "\([^"]*\)"  *"\([^"]*\)"$/<tt>\1<\/tt>\2/
s/^\.CW \([^ ]*\)  *"\([^"]*\)"  *\([^" ][^" ]*\)$/\3<tt>\1<\/tt>\2/
s/^\.CW \([^ ]*\)  *\([^" ][^" ]*\)  *\([^" ][^" ]*\)$/\3<tt>\1<\/tt>\2/
s/^\.CW "\([^"]*\)"  *\([^" ][^" ]*\)  *\([^" ][^" ]*\)$/\3<tt>\1<\/tt>\2/
s/^\.I "\([^"]*\)"$/<i>\1<\/i>/
s/^\.I \([^" ][^" ]*\)$/<i>\1<\/i>/
s/^\.I \([^" ][^" ]*\) \([^" ][^" ]*\)$/<i>\1<\/i>\2/
s/^\.I "\([^"]*\)"  *\([^" ][^" ]*\)$/<i>\1<\/i>\2/
s/^\.I \([^" ]*\)  *\([^" ][^" ]*\)  *\([^" ][^" ]*\)$/\3<i>\1<\/i>\2/
s/^\.I \([^" ]*\)  *"\([^"]*\)"  *\([^" ][^" ]*\)$/\3<i>\1<\/i>\2/
s/^\.I "\([^"]*\)"  *\([^" ][^" ]*\)  *\([^" ][^" ]*\)$/\3<i>\1<\/i>\2/
s/^\.I "\([^"]*\)"  *"\([^"]*\)"  *\([^" ][^" ]*\)$/\3<i>\1<\/i>\2/
s/^\.SM \([^" ][^" ]*\)$/<small>\1<\/small>/
# line continuation
/\\c$/N
s/\\c.//
SHAR_EOF
fi
if test -f 'contents.sh'
then
	echo shar: "will not over-write existing file 'contents.sh'"
else
cat << \SHAR_EOF > 'contents.sh'
#!/bin/sh
# Copyright 06/14/98 Sun Microsystems, Inc., All Rights Reserved.
# @(#)contents.sh 1.1 on 98/06/14 21:03:26
# Author: Lawrence Crowl
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# See the file COPYING.
#
sed -f charfont.sed $1/$2.oldh |
    sed -f contents.sed |
    sed -f $1/intro.xref |
    sed -f $1/lex.xref |
    sed -f $1/basic.xref |
    sed -f $1/conv.xref |
    sed -f $1/expr.xref |
    sed -f $1/stmt.xref |
    sed -f $1/dcl.xref |
    sed -f $1/decl.xref |
    sed -f $1/class.xref |
    sed -f $1/derived.xref |
    sed -f $1/access.xref |
    sed -f $1/special.xref |
    sed -f $1/over.xref |
    sed -f $1/template.xref |
    sed -f $1/except.xref |
    sed -f $1/cpp.xref |
    sed -f $1/lib-intro.xref |
    sed -f $1/lib-support.xref |
    sed -f $1/lib-diagnostics.xref |
    sed -f $1/lib-utilities.xref |
    sed -f $1/lib-strings.xref |
    sed -f $1/lib-locales.xref |
    sed -f $1/lib-containers.xref |
    sed -f $1/lib-iterators.xref |
    sed -f $1/lib-algorithms.xref |
    sed -f $1/lib-numerics.xref |
    sed -f $1/lib-iostreams.xref.aa |
    sed -f $1/lib-iostreams.xref.ab |
    sed -f $1/gram.xref |
    sed -f $1/limits.xref |
    sed -f $1/diff.xref |
    sed -f $1/future.xref |
    sed -f $1/extendid.xref |
    sed -e 's/\(<a href="[^"#]*#\)\([^"]*\)">\(<\/a>\)/\1\2">\2\3/g' |
    sed -f section1.sed |
    sed -f section2.sed |
    sed -f section3.sed |
    sed -f section4.sed |
    sed -f section5.sed |
    sed -f section6.sed |
    sed -e "s/<h[1-6]>##/$3/" |
    sed -e "s/<h1>//" > $1/$2.cnts
SHAR_EOF
chmod +x 'contents.sh'
fi
if test -f 'textbody.sh'
then
	echo shar: "will not over-write existing file 'textbody.sh'"
else
cat << \SHAR_EOF > 'textbody.sh'
#!/bin/sh
# Copyright 06/14/98 Sun Microsystems, Inc., All Rights Reserved.
# @(#)textbody.sh 1.1 on 98/06/14 21:03:30
# Author: Lawrence Crowl
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# See the file COPYING.
#
sed -f charfont.sed $2/$4 |
    sed -f textbody.sed |
    sed -f $3/intro.xref |
    sed -f $3/lex.xref |
    sed -f $3/basic.xref |
    sed -f $3/conv.xref |
    sed -f $3/expr.xref |
    sed -f $3/stmt.xref |
    sed -f $3/dcl.xref |
    sed -f $3/decl.xref |
    sed -f $3/class.xref |
    sed -f $3/derived.xref |
    sed -f $3/access.xref |
    sed -f $3/special.xref |
    sed -f $3/over.xref |
    sed -f $3/template.xref |
    sed -f $3/except.xref |
    sed -f $3/cpp.xref |
    sed -f $3/lib-intro.xref |
    sed -f $3/lib-support.xref |
    sed -f $3/lib-diagnostics.xref |
    sed -f $3/lib-utilities.xref |
    sed -f $3/lib-strings.xref |
    sed -f $3/lib-locales.xref |
    sed -f $3/lib-containers.xref |
    sed -f $3/lib-iterators.xref |
    sed -f $3/lib-algorithms.xref |
    sed -f $3/lib-numerics.xref |
    sed -f $3/lib-iostreams.xref.aa |
    sed -f $3/lib-iostreams.xref.ab |
    sed -f $3/gram.xref |
    sed -f $3/limits.xref |
    sed -f $3/diff.xref |
    sed -f $3/future.xref |
    sed -f $3/extendid.xref |
    sed -e 's/\(<a href="[^"#]*#\)\([^"]*\)">\(<\/a>\)/\1\2">\2\3/g' |
    sed -f paragraph.sed |
    sed -f section1.sed |
    sed -f section2.sed |
    sed -f section3.sed |
    sed -f section4.sed |
    sed -f section5.sed |
    sed -f section6.sed |
    sed -e "s/\(<h[1-6]>\)##/\1$5/" > $1/$4.html
SHAR_EOF
chmod +x 'textbody.sh'
fi
if test -f 'backslash.ref'
then
	echo shar: "will not over-write existing file 'backslash.ref'"
else
cat << \SHAR_EOF > 'backslash.ref'
lex.html:<tt>\uXXXX</tt>
lex.html:_ { } [ ] # ( ) &lt; &gt; % : ; . ? * + - / ^ &amp; | ~ ! = , \ " '
lex.html:	</i>\u<i> hex-quad
lex.html:	</i>\U<i> hex-quad hex-quad
lex.html:<tt>\UNNNNNNNN</tt>
lex.html:<tt>\uNNNN</tt>
lex.html:<tr><td>??/</td><td>\</td><td>??)</td><td>]</td><td>??&gt;</td><td>}</td></tr>
lex.html:<tt>\</tt>,
lex.html:<tt>\u</tt>
lex.html:		the single-quote  <tt>'</tt>, backslash  <tt>\</tt>, or new-line character
lex.html:	\'  \"  \?  \\
lex.html:	\a  \b  \f  \n  \r  \t  \v
lex.html:	\ <i>octal-digit</i>
lex.html:	\ <i>octal-digit</i> <i>octal-digit</i>
lex.html:	\ <i>octal-digit</i> <i>octal-digit</i> <i>octal-digit</i>
lex.html:	\x <i>hexadecimal-digit
lex.html:<tt>\</tt>,
lex.html:<tr><td>new-line</td><td><small>NL (LF)</small></td><td>\n</td></tr>
lex.html:<tr><td>horizontal tab</td><td><small>HT</small></td><td>\t</td></tr>
lex.html:<tr><td>vertical tab</td><td><small>VT</small></td><td>\v</td></tr>
lex.html:<tr><td>backspace</td><td><small>BS</small></td><td>\b</td></tr>
lex.html:<tr><td>carriage return</td><td><small>CR</small></td><td>\r</td></tr>
lex.html:<tr><td>form feed</td><td><small>FF</small></td><td>\f</td></tr>
lex.html:<tr><td>alert</td><td><small>BEL</small></i></td><td>\a</td></tr>
lex.html:<tr><td>backslash</td><td>\</td><td>\\</td></tr>
lex.html:<tr><td>question mark</td><td>?</td><td>\?</td></tr>
lex.html:<tr><td>single quote</td><td>'</td><td>\'</td></tr>
lex.html:<tr><td>double quote</td><td>"</td><td>\"</td></tr>
lex.html:<tr><td>octal number</td><td><i>ooo</i></td><td>\<i>ooo</i></td></tr>
lex.html:<tr><td>hex number</td><td><i>hhh</i></td><td>\x<i>hhh</i></td></tr>
lex.html:can be represented as themselves or by the escape sequences  <tt>\"</tt>  and
lex.html:<tt>\?</tt>
lex.html:<tt>\</tt>
lex.html:<tt>\'</tt>
lex.html:<tt>\\</tt>
lex.html:<tt>\</tt><i>ooo</i>
lex.html:<tt>\x</tt><i>hhh</i>
lex.html:		the double-quote </i>"</i>, backslash <i>\</i>, or new-line character
lex.html:"\xA" "B"
lex.html:<tt>'\xA'</tt>
lex.html:<tt>'\xAB'</tt>).
lex.html:<tt>'\0'</tt>
lex.html:<tt>\'</tt>,
lex.html:<tt>\</tt>.
lex.html:<tt>L'\0'</tt>.
lex.html:<tt>'\0'</tt>.
decl.html:    printf("a = %d\n",a);
decl.html:char msg[] = "Syntax error on line %s\n";
decl.html:<tt>'\n'</tt>
decl.html:<tt>'\0'</tt>
decl.html:<tt>'\0'</tt>.
special.html:	     &lt;&lt; '\n';
template.html:			cout &lt;&lt; p[i] &lt;&lt; '\n';
cpp.html:<tt>\</tt>
cpp.html:<tt>\</tt>
cpp.html:	#define debug(s, t) printf("x" # s "= %d, x" # t "= %s", \
cpp.html:	fputs(str(strncmp("abc\0d", "abc", '\4')  /* this goes away */
cpp.html:		== 0) str(: @\n), s);
cpp.html:fputs("strncmp(\"abc\\0d\", \"abc\", '\\4') == 0" ": @\n", s);
cpp.html:fputs("strncmp(\"abc\\0d\", \"abc\", '\\4') == 0: @\n", s);
cpp.html:#define FTN_LIKE( a )(		/* note the white space */ \
lib-strings.html:<tt>getline(<tt><i>is</i></tt>,<tt><i>str</i></tt>,<tt><i>is</i></tt>.widen('\n'))</tt>
lib-locales.html:Thus, the string <tt>"\003"</tt> specifies groups of 3 digits each, and
lib-locales.html:This is most commonly the value <tt>"\003"</tt>
lib-iterators.html:  ostream_iterator&lt;double, char&gt;(cout, "\n"));
lib-iostreams.html:<tt>get(s,n,widen('\n'))</tt>
lib-iostreams.html:<tt>get(s,n,widen('\n'))</tt>
lib-iostreams.html:    while (cin.getline(buffer, line_buffer_size, '\n') || cin.gcount()) {
lib-iostreams.html:<tt>getline(s,n,widen('\n'))</tt>
lib-iostreams.html:<tt> <tt><i>os</i></tt>.put(os.widen('\n') )</tt>,
gram.html:	</i><tt>\u</tt><i> hex-quad
gram.html:	</i><tt>\U</tt><i> hex-quad hex-quad
gram.html:		the single-quote  <tt>'</tt>, backslash  <tt>\</tt>, or new-line character
gram.html:	\'  \"  \?  \\
gram.html:	\a  \b  \f  \n  \r  \t  \v
gram.html:	\ </tt><i>octal-digit</i><tt>
gram.html:	\ </tt><i>octal-digit</i><tt> </tt><i>octal-digit</i><tt>
gram.html:	\ </tt><i>octal-digit</i><tt> </tt><i>octal-digit</i><tt> </tt><i>octal-digit</i><tt>
gram.html:	\x </tt><i>hexadecimal-digit
gram.html:		the double-quote </i></tt>"</tt>, backslash <tt>\</i>, or new-line character
diff.html:</ul></ol></dl><p><b>-4-</b> <b>Change:</b> In C++, when initializing an array of character with a string, the number of characters in the string (including the terminating <tt>'\\0'</tt>) must not exceed the number of elements in the array. In C, an array can be initialized with a string even if the array is not large enough to contain the string terminating <tt>'\\0'</tt><br>
diff.html:string terminating <tt>'\0'</tt>.
SHAR_EOF
fi
if test -f 'dollar.ref'
then
	echo shar: "will not over-write existing file 'dollar.ref'"
else
cat << \SHAR_EOF > 'dollar.ref'
lib-locales.html:<tt>$1,056.23</tt>
SHAR_EOF
fi
if test -f 'dotline.ref'
then
	echo shar: "will not over-write existing file 'dotline.ref'"
else
cat << \SHAR_EOF > 'dotline.ref'

SHAR_EOF
fi
if test -f 'protoindex.html'
then
	echo shar: "will not over-write existing file 'protoindex.html'"
else
cat << \SHAR_EOF > 'protoindex.html'
<!--
Copyright 06/14/98 Sun Microsystems, Inc., All Rights Reserved.
@(#)protoindex.html 1.1 on 98/06/14 21:03:27
Author: Lawrence Crowl

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
See the file COPYING.
-->

<html>
<head><title>C++ Final Draft International Standard</title>

<body>

<table width="100%"><tr>
<td valign=top align=left>FINAL<br>DRAFT</td>
<td valign=top align=center>INTERNATIONAL<br>STANDARD</td>
<td valign=top align=right>ISO/IEC<br>FDIS<br>14882</td>
</tr></table>

<hr>
<h1>Programming languages --- C++</h1>
<h2>Languages de programmation --- C++</h2>

ISO/IEC JTC <b>1</b><br>
Secretariat: <b>ANSI</b><br>
Voting begins on: <b>1998-04-23</b><br>
Voting terminates on: <b>1998-06-23</b><br>

<p>
In accordance with the provisions of Council Resolution 21/1986,
this document is <b>circulated in the English language only</b>.

<p>
<b>PRODUCTION NOTE:</b>
The dates in the headers of this FDIS, which currently read "1997",
will be changed to "1998"
before final publication of this International Standard.

<p>
In addition to their evaluation
as being acceptable for industrial, technological, commercial and user purposes,
draft international standards may on occasion have to be considered
in the light of their potential to become standards
to which reference may be made in national regulations.

<p>
Reference number ISO/IEC FDIS 14882:1998(E)

<p>
<a href="contents.html">Contents</a><br>
<a href="intro.html">1 - General [intro]</a><br>
<a href="lex.html">2 - Lexical conventions [lex]</a><br>
<a href="basic.html">3 - Basic concepts [basic]</a><br>
<a href="conv.html">4 - Standard conversions [conv]</a><br>
<a href="expr.html">5 - Expressions [expr]</a><br>
<a href="stmt.html">6 - Statements [stmt.stmt]</a><br>
<a href="dcl.html">7 - Declarations [dcl.dcl]</a><br>
<a href="decl.html">8 - Declarators [dcl.decl]</a><br>
<a href="class.html">9 - Classes [class]</a><br>
<a href="derived.html">10 - Derived classes [class.derived]</a><br>
<a href="access.html">11 - Member access control [class.access]</a><br>
<a href="special.html">12 - Special member functions [special]</a><br>
<a href="over.html">13 - Overloading [over]</a><br>
<a href="template.html">14 - Templates [temp]</a><br>
<a href="except.html">15 - Exception handling [except]</a><br>
<a href="cpp.html">16 - Preprocessing directives [cpp]</a><br>
<a href="lib-intro.html">17 - Library introduction [lib.library]</a><br>
<a href="lib-support.html">18 - Language support library [lib.language.support]</a><br>
<a href="lib-diagnostics.html">19 - Diagnostics library [lib.diagnostics]</a><br>
<a href="lib-utilities.html">20 - General utilities library [lib.utilities]</a><br>
<a href="lib-strings.html">21 - Strings library [lib.strings]</a><br>
<a href="lib-locales.html">22 - Localization library [lib.localization]</a><br>
<a href="lib-containers.html">23 - Containers library [lib.containers]</a><br>
<a href="lib-iterators.html">24 - Iterators library [lib.iterators]</a><br>
<a href="lib-algorithms.html">25 - Algorithms library [lib.algorithms]</a><br>
<a href="lib-numerics.html">26 - Numerics library [lib.numerics]</a><br>
<a href="lib-iostreams.html">27 - Input/output library [lib.input.output]</a><br>
<a href="gram.html">1 - Grammar summary (informative) [gram]</a><br>
<a href="limits.html">2 - Implementation quantities (informative) [limits]</a><br>
<a href="diff.html">3 - Compatibility (informative) [diff]</a><br>
<a href="future.html">4 - Compatibility features "(normative)" [depr]</a><br>
<a href="extendid.html">5 - Universal-character-names for identifiers "(normative)" [extendid]</a><br>

<p> PRESENTATION NOTE:
This presentation is <em>not</em> an official document
and should not be used for citation purposes.
This presentation is a translation of the original troff sources into HTML.
The translation has several areas of weakness,
including lists, fonts, tables, and arithmetic expressions.
As a consequence, portions of this presentation may not reflect accurately
the contents of the official document.
This presentation is provided by Sun Microsystems, Inc.
as a service to the standards community,
and not as a commitment on the part of Sun or any organization.

</body> </html>
SHAR_EOF
fi
exit 0
#	End of shell archive
