Skip to content

Commit

Permalink
Fix typos. Based on and fixes #58
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Dec 6, 2024
1 parent 7f586fa commit 826258d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ The above omits all lines except the first two and the last two lines:
:ellipsis: 2,-2


Mimicing shell input
--------------------
Mimicking shell input
---------------------

You can mimic shell input with the :dir:`command-output` directive [#alias]_.
This directive inserts the command along with its output into the document::
Expand All @@ -120,7 +120,7 @@ The appearance of this output can be configured with
Command execution and shell expansion
-------------------------------------

Normally the command is splitted according to the POSIX shell syntax (see
Normally the command is split according to the POSIX shell syntax (see
:py:mod:`shlex`), and executed directly. Thus special shell features like
expansion of environment variables will not work::

Expand All @@ -145,7 +145,7 @@ Other shell features like process expansion consequently work, too::
.. command-output:: ls -l $(which grep)
:shell:

Remember to use ``shell`` carefully to avoid unintented interpretation of shell
Remember to use ``shell`` carefully to avoid unintended interpretation of shell
syntax and swallowing of fatal errors!


Expand Down

0 comments on commit 826258d

Please sign in to comment.