This commit is contained in:
Mark McGranaghan 2012-09-23 18:11:03 -07:00
parent 1f7065e387
commit 14c09bd59b
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
// ## Line Filter // ## Line Filters
// A line filter program reads input on stdin, // A line filter program reads input on stdin,
// processes it, and prints results to stdout. // processes it, and prints results to stdout.

View File

@ -3,6 +3,6 @@ $ echo 'hello' > lines
$ echo 'filter' >> lines $ echo 'filter' >> lines
# Use the line filter to get uppercase lines. # Use the line filter to get uppercase lines.
$ cat lines | go run line-filter.go $ cat lines | go run line-filters.go
HELLO HELLO
FILTER FILTER

View File

@ -73,7 +73,7 @@ base64-encoding ~
reading-files reading-files
writing-files writing-files
standard-streams ~ standard-streams ~
line-filter line-filters
command-line-arguments command-line-arguments
command-line-flags command-line-flags
environment-variables environment-variables