DEV Community

Jesus Gonzalez
Jesus Gonzalez

Posted on

Line filter program that removes digits

📌 A filter is a program that gets data from standard input, performs some manipulation of the data, and then writes its results to standard output.
Auxiliary input may come from command line flags or configuration files, while auxiliary output may go to standard error.

📌 Most common functions:

▶️ Convert data to a different format
▶️ Add printer instructions to the beginning of each document
▶️ Add, delete, or modify data in a document

📌 Unix has many filter programs, most common are: cat, cut, grep,

Go Playground: https://play.golang.org/p/s8FwQRkZXdr

Alt Text

Top comments (0)