Your challenge, should you be coded to accept it, runs as follows:
You may choose one of the following two challenges to implement:
- Read from a file
- Write only printable ASCII characters (values 32-126) to a file
- With a file
a.txt, delete all characters in the file except printable ASCII characters (values 32-126)
a.txt is a plain text file which can include any ASCII values from 0-255 (even undefined/control) and its size can range up to 1 GB.
The answer with the smallest amount of sourcecode in bytes wins.