<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd">
<wml>
 <!-- page name="special"-->
 <template>
  <do optional="false" label="Back Up" type="accept">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#special"/>
  </do>
 </template>
 <card ordered="true" newcontext="false" id="special">
  <do optional="false" label="Back Up" type="accept">
   <noop/>
  </do>
  <do optional="false" label="Back" type="prev">
   <prev/>
  </do>
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#dotcommand"/>
  </do>
  <a href="#dotcommand" accesskey="1">. (dot)</a>
  <br/>
  <a href="#export" accesskey="2">export</a>
  <br/>
  <a href="#set" accesskey="3">set</a>
  <br/>
 </card>
 <card ordered="true" newcontext="false" id="dotcommand">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#export"/>
  </do>
  <!-- h1 -->
  <h1>Execute a command script</h1>
  <p>The dot command executes a script within the shell. </p>
  <p align="left">. <i>filepath</i>&#8203;</p>
  <p>The file does not need to have executable permissions. </p>
  <p align="left">
   <a href="#export">Next: export</a>
   <br/>
   <a href="#special">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="export">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#set"/>
  </do>
  <!-- h1 -->
  <h1>Permanently set an environment variable</h1>
  <p align="left">export <i>var</i>=<i>value</i>&#8203;export <i>var</i>='<i>value ...</i>'export <i>var</i>="<i>expression</i>"</p>
  <p align="left">
   <a href="#set">Next: set</a>
   <br/>
   <a href="#dotcommand">Prev: . (dot)</a>
   <br/>
   <a href="#special">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="set">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="builtin.wml#cd"/>
  </do>
  <!-- h1 -->
  <h1>set</h1>
  <p align="left">set -<i>flag</i>&#8203;set +<i>flag</i>&#8203;set -o <i>option</i>&#8203;set +o <i>option</i>&#8203;</p>
  <p>Using "-" turns on the flag or option; using "+" turns it off. </p>
  <p>One of the most beneficial uses of this command is to set an option for <a href="cmdedit.wml">command line editing</a>. </p>
  <p align="left">
   <a href="builtin.wml#cd">Next: cd</a>
   <br/>
   <a href="#export">Prev: export</a>
   <br/>
   <a href="#special">Back Up: Menu</a>
   <br/>
  </p>
 </card>
</wml>

