Skip to content

Commit

Permalink
Correct littlewomen example
Browse files Browse the repository at this point in the history
Fix #82
  • Loading branch information
gcapes committed Jan 24, 2018
1 parent a0ab946 commit 904c815
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions _episodes/02-counting-mining.md
Original file line number Diff line number Diff line change
Expand Up @@ -751,20 +751,20 @@ and count the number of times it appears. The results will print to the screen.
$ for name in "Jo" "Meg" "Beth" "Amy"
> do
> echo $name
> grep $name littlewomen.txt | wc -w
> grep -ow $name littlewomen.txt | wc -l
> done
~~~
{: .bash}
~~~
Jo
18877
Meg
8314
Beth
5684
Amy
7933
Jo:
1355
Meg:
683
Beth:
459
Amy:
645
~~~
{: .output}

0 comments on commit 904c815

Please sign in to comment.