1
1
mirror of https://github.com/casey/just.git synced 2024-11-22 02:09:44 +03:00
This commit is contained in:
casey 2024-11-06 09:49:18 +00:00
parent 78af401e68
commit ae1cd3a20b
4 changed files with 6 additions and 6 deletions

View File

@ -215,9 +215,9 @@ file.</p>
interpret <code>command</code> is the same shell that is used to evaluate recipe lines,
and can be changed with <code>set shell := […]</code>.</p>
<p><code>command</code> is passed as the first argument, so if the command is <code>'echo $@'</code>,
the full command line, with the default shell command <code>shell -cu</code> and <code>args</code>
the full command line, with the default shell command <code>sh -cu</code> and <code>args</code>
<code>'foo'</code> and <code>'bar'</code> will be:</p>
<pre><code>'shell' '-cu' 'echo $@' 'echo $@' 'foo' 'bar'
<pre><code>'sh' '-cu' 'echo $@' 'echo $@' 'foo' 'bar'
</code></pre>
<p>This is so that <code>$@</code> works as expected, and <code>$1</code> refers to the first
argument. <code>$@</code> does not include the first positional argument, which is

View File

@ -1347,9 +1347,9 @@ file.</p>
interpret <code>command</code> is the same shell that is used to evaluate recipe lines,
and can be changed with <code>set shell := […]</code>.</p>
<p><code>command</code> is passed as the first argument, so if the command is <code>'echo $@'</code>,
the full command line, with the default shell command <code>shell -cu</code> and <code>args</code>
the full command line, with the default shell command <code>sh -cu</code> and <code>args</code>
<code>'foo'</code> and <code>'bar'</code> will be:</p>
<pre><code>'shell' '-cu' 'echo $@' 'echo $@' 'foo' 'bar'
<pre><code>'sh' '-cu' 'echo $@' 'echo $@' 'foo' 'bar'
</code></pre>
<p>This is so that <code>$@</code> works as expected, and <code>$1</code> refers to the first
argument. <code>$@</code> does not include the first positional argument, which is

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long