On Sat, May 7, 2022 at 10:24 PM Constantine Vassilev <thst...@gmail.com> wrote:

> I need to write a program that reads STDIN and should output every line that 
> contains a search word "test" to STDOUT.

Piping the data through grep(1) would be my first option.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAA40n-VdZfctpwwsaUwP7ANRU9EuRFfGSsrLacA4o%3D%3DH19DhKA%40mail.gmail.com.

Reply via email to