gobyexample/096-line-filter/line-filter.sh
2012-09-23 12:11:48 -04:00

9 lines
197 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