From 7ad1a81de83b30c45ccc0d437a568a03f82cde97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Tr=C3=B6ndle?= Date: Thu, 24 Mar 2016 17:29:27 +0100 Subject: [PATCH] fixed two inconsistencies in the stdin part --- 10-cmdline.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/10-cmdline.md b/10-cmdline.md index f16ea30c9..a148400b5 100644 --- a/10-cmdline.md +++ b/10-cmdline.md @@ -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. @@ -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}