simpler
This commit is contained in:
parent
e8da058c16
commit
b2e5879257
@ -1,10 +1,8 @@
|
|||||||
# Make a file with a few lowercase lines.
|
# Make a file with a few lowercase lines.
|
||||||
$ cat <<EOLINES > lines
|
$ echo 'hello' > lines
|
||||||
hello
|
$ echo 'filter' >> lines
|
||||||
filter
|
|
||||||
EOLINES
|
|
||||||
|
|
||||||
# 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-filter.go
|
||||||
HELLO
|
HELLO
|
||||||
WORLD
|
FILTER
|
||||||
|
Loading…
x
Reference in New Issue
Block a user