ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahz_5.4.0.1/dot.htm

62 lines
1.7 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org">
<meta http-equiv="Content-Type" content=
"text/html; charset=utf-8">
<title>dot (.) - Run commands in current environment</title>
<LINK rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</HEAD>
<body bgcolor="#FFFFFF">
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h2>dot (.) - Run commands in current environment</h2>
<strong>Synopsis</strong>
<p><strong>.</strong> <em>name</em> [ <em>argument</em> ... ]</p>
<p><strong>Description</strong></p>
<p>You can use <strong>dot</strong> to run a script or function in
the current environment.</p>
<p><strong>Options</strong></p>
<p>None.</p>
<p><strong>Operands</strong></p>
<p>If <em>name</em> refers to a function, <strong>qsh</strong> runs
the function in the current environment. Otherwise, <strong>
qsh</strong> uses the search path specified by the <strong>
PATH</strong> variable to find <em>name</em>. If <em>name</em> is
found, <strong>qsh</strong> reads the contents of the file and runs
those commands in the current environment.</p>
<p>If specified, the <em>arguments</em> replace the positional
parameters while <em>name</em> is running. Otherwise the positional
parameters are unchanged.</p>
<p><strong>Exit Status</strong></p>
<p>Exit status of last command in <em>name</em>.</p>
<p><strong>Related information</strong></p>
<ul>
<li><a href="command.htm">command - Run a simple command</a></li>
<li><a href="eval.htm">eval - Construct command by concatenating
arguments</a></li>
<li><a href="exec.htm">exec - Run commands and open, close, or copy
descriptors</a></li>
</ul>
</body>
</html>