This commit is contained in:
Mark McGranaghan 2012-09-23 12:17:22 -04:00
parent e8da058c16
commit b2e5879257

View File

@ -1,10 +1,8 @@
# Make a file with a few lowercase lines.
$ cat <<EOLINES > lines
hello
filter
EOLINES
$ echo 'hello' > lines
$ echo 'filter' >> lines
# Use the line filter to get uppercase lines.
$ cat lines | go run line-filter.go
HELLO
WORLD
FILTER