gobyexample/096-line-filter/line-filter.sh
Mark McGranaghan e8da058c16 normalize
2012-09-23 12:16:37 -04:00

11 lines
182 B
Bash

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