Skip to content

Commit

Permalink
Small typo fix in Parameter Expansion section
Browse files Browse the repository at this point in the history
"${url:7}" should actually be "${url:8}" if the expected output is "guide.bash.academy/variables.html" rather than "/guide.bash.academy/variables.html".
  • Loading branch information
dredfett committed Jun 27, 2022
1 parent cd5dcef commit 60a5165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expansions.html
Expand Up @@ -507,7 +507,7 @@ <h3>Parameter Expansion</h3>
<th>
<code class="syntax"><strong>${</strong><var>parameter</var><strong>:</strong><var>start</var>[<strong>:</strong><var>length</var>]<strong>}</strong></code>
</th>
<td><kbd>"${url:<mark>7</mark>}"</kbd></td>
<td><kbd>"${url:<mark>8</mark>}"</kbd></td>
<td>
<pre>https://<mark>guide.bash.academy/variables.html</mark>
Expand Down

0 comments on commit 60a5165

Please sign in to comment.