<!-- Converted by db4-upgrade version 1.0 -->

<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="keep">

<refmeta>
  <refentrytitle>KEEP</refentrytitle>
  <manvolnum>nged</manvolnum>
  <refmiscinfo class="source">BRL-CAD</refmiscinfo>
  <refmiscinfo class="manual">BRL-CAD User Commands</refmiscinfo>
</refmeta>

<refnamediv xml:id="name">
  <refname>keep</refname>
  <refpurpose>Copies the <emphasis>objects</emphasis> specified to the <emphasis>keep_file</emphasis>.
   </refpurpose>
</refnamediv>

<!-- body begins here -->
<refsynopsisdiv xml:id="synopsis">
  <cmdsynopsis sepchar=" ">
    <command>keep</command>    
      <arg choice="req" rep="norepeat"><replaceable>keep_file</replaceable></arg>
      <arg choice="req" rep="norepeat"><replaceable>objects</replaceable></arg>
  </cmdsynopsis>
</refsynopsisdiv>

<refsection xml:id="description"><info><title>DESCRIPTION</title></info>
  
  <para>Copies the <emphasis>objects</emphasis> specified to the <emphasis>keep_file</emphasis>. If <emphasis>	keep_file</emphasis> does not exist, it is created. If <emphasis>keep_file</emphasis> does exist, the 	<emphasis>objects</emphasis> are appended to it. The <emphasis>keep_file</emphasis> is a <emphasis>BRL-CAD	</emphasis> database file. The <emphasis>objects</emphasis> in the list must exist in the current database.
  </para>
</refsection>

<refsection xml:id="examples"><info><title>EXAMPLES</title></info>
  
  <para>The example shows the use of the <command>keep</command> command to copy specified objects to a 	designated file.
   </para>
  <example><info><title>Copy specified objects to a designated file.</title></info>
    
    <variablelist>
      <varlistentry>
	   <term><prompt>mged&gt;</prompt> <userinput>keep sample.g sample1 sample2</userinput></term>
	   <listitem>
	     <para>Creates <emphasis>sample.g</emphasis> file with objects <emphasis>sample1</emphasis> and 				<emphasis>sample2</emphasis> in it.
	     </para>
	   </listitem>
      </varlistentry>
    </variablelist>
  </example>
       
 </refsection>

<info><corpauthor>BRL-CAD Team</corpauthor></info>

<refsection xml:id="bug_reports"><info><title>BUG REPORTS</title></info>
  
  <para>
    Reports of bugs or problems should be submitted via electronic
    mail to &lt;devs@brlcad.org&gt;, or via the "cadbug.sh" script.
  </para>
</refsection>
</refentry>
