<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Command substitution - Page 6 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=command_substitution&amp;p=5">1.Previous</a><br />
<a accesskey="3" href="page.php?w=command_substitution&amp;p=7">3.Next</a>
</p>
<p>the syntax has been criticized as awkward to nest, putting one command substitution inside another, because both the left and the right delimiters are the same.  The <a href="page.php?w=KornShell">KornShell</a> (ksh) solved this with an alternative notation, <code>$(</code>&nbsp;...&nbsp;<code>)</code>, borrowing from the notational style used for <a href="page.php?w=Variable_%28programming%29">variable substitution</a>.  Today, most UNIX shells support this syntax. Microsoft's <a href="page.php?w=PowerShell">PowerShell</a> also uses this notation,</p><p>
<a accesskey="1" href="page.php?w=command_substitution&amp;p=5">1.Previous</a><br />
<a accesskey="3" href="page.php?w=command_substitution&amp;p=7">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
