You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
245 B
Bash
10 lines
245 B
Bash
5 years ago
|
# To try out our line filter, first make a file with a few
|
||
|
# lowercase lines.
|
||
|
$ echo 'hello' > /tmp/lines
|
||
|
$ echo 'filter' >> /tmp/lines
|
||
|
|
||
|
# Then use the line filter to get uppercase lines.
|
||
|
$ cat /tmp/lines | go run line-filters.go
|
||
|
HELLO
|
||
|
FILTER
|