Skip to content

Commit d74671e

Browse files
committed
[DATALAD RUNCMD] Typos fix
=== Do not change lines below === { "chain": [], "cmd": "sed -i -e s,Thhe,The,g -e s,conition,condition,g -e 's,scrip ,script ,g' -e s,therfore,therefore,g 00-overview.md 01-shell-basics.md 02-vcs.md 03-packages.md 04-legalities.md 05-misc.md 11-wrap-up.md", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "_episodes" } ^^^ Do not change lines above ^^^
1 parent ba14c2d commit d74671e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_episodes/01-shell-basics.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ the shell, those history lines are appended to a file (by default in
501501
`~/.bash_history` for bash shell). This not
502502
only allows you to quickly recall commands you have run recently, but
503503
can effectively provide a "lab notebook" of the actions you have
504-
performed. Thhe shell history can be very useful for two reasons. Firstly, it can provide
504+
performed. The shell history can be very useful for two reasons. Firstly, it can provide
505505
a skeleton for your script and help you realize that automating
506506
your shell commands is worth the effort. Secondly, it helps you determine exactly
507507
which command you ran to perform any given operation.
@@ -607,7 +607,7 @@ used.
607607
608608
If you intend to use some variable that might still be undefined
609609
you can either use `${var:-DEFAULT}` to provide an explicit `DEFAULT`
610-
value or define it on the conition that it doesn't already exist; e.g.:
610+
value or define it on the condition that it doesn't already exist; e.g.:
611611
612612
~~~
613613
% : ${notyetdefined:=1}
@@ -665,13 +665,13 @@ your script performs as expected.
665665
powerful paradigm to verify that pieces of your code (units) operate
666666
correctly in various scenarios, and that these assumptions are represented in
667667
the code. An interesting observation is that everyone does at least some
668-
"testing" by simply running their code/scrip on an input and checking
668+
"testing" by simply running their code/script on an input and checking
669669
that the output matches their expectations. Unit-testing just takes this
670670
workflow one step further: code such tests in a separate file so you can run
671671
them all at once later on (e.g., whenever you change your script) to verify
672672
that your script still performs correctly. In the simplest case, you can
673673
just copy your test commands into a separate script that would fail if
674-
any command within it fails (therfore effectively testing your target
674+
any command within it fails (therefore effectively testing your target
675675
script(s)).
676676
677677
For example, the following script could be used to test basic correct operations

0 commit comments

Comments
 (0)