#
#	this script builds the archives for sections 2-4 of
#	the manual into this directory
#
rm sect2 sect3 sect4
ar xv lib.dar | ch .fmt | tee temp | ch "%?*$" "format &.fmt >&" | sh -v
ar uv <temp sect3 - | ch "%?*$" "&@n&.fmt" | rm
ar xv prim.dar | ch .fmt | tee temp | ch "%?*$" "format &.fmt >&" | sh -v
ar uv <temp sect2 - | ch "%?*$" "&@n&.fmt" | rm
ar xv primer.dar | ch .fmt | tee temp | ch "%?*$" "format &.fmt >&" | sh -v
ar uv <temp sect4 - | ch "%?*$" "&@n&.fmt" | rm
rm temp
