gobyexample/096-line-filter/line-filter.sh
Mark McGranaghan b2e5879257 simpler
2012-09-23 12:17:22 -04:00

9 lines
188 B
Bash

# Make a file with a few lowercase lines.
$ echo 'hello' > lines
$ echo 'filter' >> lines
# Use the line filter to get uppercase lines.
$ cat lines | go run line-filter.go
HELLO
FILTER