simpler
This commit is contained in:
parent
e8da058c16
commit
b2e5879257
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user