Skip to content

Commit

Permalink
fixed two inconsistencies in the stdin part
Browse files Browse the repository at this point in the history
  • Loading branch information
timtroendle committed Mar 24, 2016
1 parent abb9917 commit 7ad1a81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 10-cmdline.md
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ $ python count-stdin.py < small-01.csv
A common mistake is to try to run something that reads from standard input like this:

~~~ {.bash}
$ count_stdin.py small-01.csv
$ python count_stdin.py small-01.csv
~~~

i.e., to forget the `<` character that redirect the file to standard input.
Expand Down Expand Up @@ -552,7 +552,7 @@ main()
Let's try it out:

~~~ {.bash}
$ python readings-06.py --mean small-01.csv
$ python readings-06.py --mean < small-01.csv
~~~

~~~ {.output}
Expand Down

0 comments on commit 7ad1a81

Please sign in to comment.